Aristomd

Results 2 comments of Aristomd

我之前在window上遇到过,应该是操作系统的问题,windows系统多进程那里有问题,把多进程那里拆开写就好了,或者换到linux

这里batch_result = pool.map(test_one_user, user_batch_rating_uid)不要用多进程,改一下test_one_user函数,具体我也忘了,windows多进程下全局变量不共享,或者更简单的换到linux上不报错 ------------------ 原始邮件 ------------------ 发件人: ***@***.***>; 发送时间: 2022年4月23日(星期六) 上午10:06 收件人: ***@***.***>; 抄送: ***@***.***>; ***@***.***>; 主题: Re: [huangtinglin/Knowledge_Graph_based_Intent_Network] 训练过程报错“name 'test_user_set' is not defined” (#16) 您好,最近在学习该工作的代码,通过调用给出的命令行参数,训练过程中evaluate.py文件的test_one_user(x)函数,在“user_pos_test = test_user_set[u]”处报错“name 'test_user_set' is not...