Comments (9)
您好。这个bug我也不太确定呢,我并没遇到,您能分享下您的操作系统环境、Python版本之类的信息吗?
from knowledge_graph_based_intent_network.
我之前在window上遇到过,应该是操作系统的问题,windows系统多进程那里有问题,把多进程那里拆开写就好了,或者换到linux
from knowledge_graph_based_intent_network.
我之前在window上遇到过,应该是操作系统的问题,windows系统多进程那里有问题,把多进程那里拆开写就好了,或者换到linux
您好,我在windows上也遇到了这个问题,请问您具体是怎么操作的呢?
from knowledge_graph_based_intent_network.
用Linux系统就不会报错了
from knowledge_graph_based_intent_network.
我之前在window上遇到过,应该是操作系统的问题,windows系统多进程那里有问题,把多进程那里拆开写就好了,或者换到linux
您好,我在windows上也遇到了这个问题,请问您具体是怎么操作的呢?
我也遇到了同样的问题,想问您一下是怎么解决的,如何把多线程那里拆开写
from knowledge_graph_based_intent_network.
我之前在window上遇到过,应该是操作系统的问题,windows系统多进程那里有问题,把多进程那里拆开写就好了,或者换到linux
想问一下具体该怎样把多线程那里拆开写呢?
from knowledge_graph_based_intent_network.
您好,最近在学习该工作的代码,通过调用给出的命令行参数,训练过程中evaluate.py文件的test_one_user(x)函数,在“user_pos_test = test_user_set[u]”处报错“name 'test_user_set' is not defined”。调试了一段时间没有找到出错的原因,想请问一下您是否知道原因?
您好,您的问题解决了吗?是怎样解决的?
from knowledge_graph_based_intent_network.
from knowledge_graph_based_intent_network.
def test_one_user(x):
# user u's ratings for user u
rating = x[0]
# uid
u = x[1]
# user u's items in the training set
try:
training_items = train_user_set[u]
except KeyError:
training_items = []
# user u's items in the test set
user_pos_test = test_user_set[u]
all_items = set(range(0, n_items))
test_items = list(all_items - set(training_items))
# Assuming ranklist_by_heapq and ranklist_by_sorted are available
# and Ks is a global variable or passed as a parameter
if args.test_flag == 'part':
r, auc = ranklist_by_heapq(user_pos_test, test_items, rating, Ks)
else:
r, auc = ranklist_by_sorted(user_pos_test, test_items, rating, Ks)
return get_performance(user_pos_test, r, auc, Ks)
168行改为:
batch_result = [test_one_user(x) for x in user_batch_rating_uid]
from knowledge_graph_based_intent_network.
Related Issues (20)
- A question about equation7 HOT 3
- 关于KGAT等基线方法实验结果与KGAT原论文中的不同 HOT 2
- 代码问题 HOT 1
- How to get the result like Fig 5 in your paper? HOT 1
- How do I know the total distribution and score of R in P in Figure 5 HOT 5
- Questions for raw data to data HOT 2
- 模型处理大规模数据集时cuda OOM HOT 4
- latent_emb问题 HOT 1
- Lastfm数据集 HOT 2
- intent的embedding以及意图独立性时的参数等问题 HOT 6
- 您好,论文内容有一处不解,冒昧请教 HOT 1
- KGIN关于推荐的问题 HOT 4
- Questions about the latent_emb. HOT 3
- 可否提供rgcn在推荐上的的复现代码
- 公式7的实现
- 训练速度问题 HOT 3
- 关于utils/data_loader.py第69行注释的小疑问
- About the dataset Alibaba-iFashion
- Can you tell me about kgfinal.txt
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from knowledge_graph_based_intent_network.