Open maovshao opened 2 years ago
Thank you for your interest in our work and our code. @YueCao2017 @YueCao94 Could you please address the questions? If you did not receive notification about this issue earlier, please click "watch" for your repos, get notifications when issues are opened in future, and respond to them in time. Thank you.
Hi,
Thank you for your interest in our code. The bug has been fixed and you should run the code normally right now.
It seems that the "maxlen" in train.py is setted to a wrong value, causing "i-maxlen+1" to be a negative number. I just tried to run the code in the default way. My run command is:
python train.py --batch_size 32 --epochs 100 --lr 1e-3 --save_path ./log/ --ontology mf --data_path ../data/ours/ --regular_lambda 0
(By the way, it seems that you need to renew the "Readme.md" because the commend of it is too old to work normally. The folder "../data/" has changed.) Could you help me solve the BUG? It's quite important for my work. Thanks, and best wishes for you.