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

KG2E crashes after around 400 epochs #183

Open
ArkDu opened this issue Sep 18, 2020 · 2 comments
Open

KG2E crashes after around 400 epochs #183

ArkDu opened this issue Sep 18, 2020 · 2 comments

Comments

@ArkDu
Copy link
Contributor

ArkDu commented Sep 18, 2020

I run train.py with python train.py -mn kg2e -exp true -device cuda. It first seemed alright, but after around 400 epochs it's mini-test results became NaN or 0.000000.
Screen Shot 2020-09-13 at 8 46 50 PM
This is kg2e_Test_results.csv after training finished. It indicates that the model stopped working at around 400 epochs

@baxtree
Copy link
Contributor

baxtree commented Sep 24, 2020

Hi, @ArkDu, I noticed the default learning rate for KG2E is 0.01, which may have been too high and resulted in a large gradient during the training. Would you like to try decreasing it and see if that helps?

@ArkDu
Copy link
Contributor Author

ArkDu commented Oct 6, 2020

Sure I'll try a smaller learning rate and see how it goes.

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