Skip to content
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

论文复现问题 #8

Open
huwenlong-cmd opened this issue Jul 5, 2024 · 5 comments
Open

论文复现问题 #8

huwenlong-cmd opened this issue Jul 5, 2024 · 5 comments

Comments

@huwenlong-cmd
Copy link

为什么复现这篇论文的程序时,评估模式之后的预测结果和训练模型当中计算的评价结果相差甚远?

@yuzhimanhua
Copy link
Owner

Thank you for your interest in our work! Could you provide more details? For example: (1) Which dataset are you using? (2) What are the numbers reported by our code during training? (3) What are the numbers calculated from the prediction results, and how do you calculate them?

@huwenlong-cmd
Copy link
Author

huwenlong-cmd commented Jul 14, 2024 via email

@yuzhimanhua
Copy link
Owner

I just ran the code on my side and did not observe this. Could you show me your command line output? Thanks!

@huwenlong-cmd
Copy link
Author

huwenlong-cmd commented Jul 15, 2024 via email

@yuzhimanhua
Copy link
Owner

yuzhimanhua commented Jul 16, 2024

It would be much better if you ran the code on your side and showed me the command line output, so that I could know what happened on your side. That being said, I tried to run your code. Since you did not include a .sh script, I used my original one and removed your hard-coded parameters (i.e., Lines 19-22 in main.py and Lines 17-23 in preprocess.py). Still, I did not observe any problems.

Please note that:
(1) The reported P@k and NDCG@k scores during training are on the validation set; the final calculated P@k and NDCG@k scores during evaluation are on the testing set. Please expect a small gap (0.5%-1%) between these numbers. For example, on my side, the validation P@1 is 0.9211; the testing P@1 is 0.9150.

(2) I do not know how you wrote your .sh script. If your parameters are hard-coded, please remember to change them before you test the model.

If you have further questions, please show me your command line output. A fragment of mine is shown below:
image

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants