-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: loss@phase1 is nan. #45
Comments
是数据集的问题,已解决 |
@ooobsidian Hi there, Could you tell me what's the problem of your dataset? |
Please check your own data set carefully, the code of this project is no problem. You need to construct your own dataset according to the format of the dataset provided in the code to ensure the correctness of the number of entities and relationships. |
打扰一下老哥,请问这个项目下载好后,直接运行提供好的默认的数据集就会出现这个问题/错,难道提供的数据集格式有错的?还需要再修改一下提供的数据集吗?如何修改呢 |
您好,非常感谢您共享的如此优秀的代码,从github拉取代码后,我使用
python Main.py --model_type kgat --alg_type bi --dataset last-fm --regs [1e-5,1e-5] --layer_size [64,32,16] --embed_size 64 --lr 0.0001 --epoch 1000 --verbose 50 --save_flag 1 --pretrain 0 --batch_size 1024 --node_dropout [0.1] --mess_dropout [0.1,0.1,0.1] --use_att True --use_kge True
训练模型,这里pretrain
是0
,结果会报错ERROR: loss@phase1 is nan.
。日志如下:另外当
pretrain
是-1
时,也会报这个错:请问该如何解决呢?谢谢,期待您答复
The text was updated successfully, but these errors were encountered: