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

关于train_loss计算 #7

Open
coder-zc opened this issue Mar 27, 2023 · 1 comment
Open

关于train_loss计算 #7

coder-zc opened this issue Mar 27, 2023 · 1 comment

Comments

@coder-zc
Copy link

请问在pebg_dkt.py中第164行 train_loss /= batch_loss,为什么每一个epoch的train_loss要除以batch_loss,不是应该除以batch_size吗?

另外我运行了您的代码,发现tarin_loss基本维持不变,而且前几个epoch的auc值已经接近best_auc了,我不知道继续训练的意义是什么,希望你可以抽空解答一下。

@amazing-2020
Copy link

估计已经毕业好几年了

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