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

About training #14

Closed
QuinnQiao opened this issue Jan 31, 2021 · 4 comments
Closed

About training #14

QuinnQiao opened this issue Jan 31, 2021 · 4 comments

Comments

@QuinnQiao
Copy link

Thanks for sharing the codes.
I tried to train the model in default settings and I found that the training is unstable.
The model often collapses in the final generation, and the best model usually comes from the 2nd or 3rd generation.
An example is shown as follows.

Epoch: 0-4, recalls(1/5/10): 88.7%, 96.1%, 97.8%

Epoch: 1-0, recalls(1/5/10): 88.4%, 96.2%, 97.8%
Epoch: 1-1, recalls(1/5/10): 89.5%, 96.8%, 98.1%
Epoch: 1-2, recalls(1/5/10): 89.9%, 96.8%, 98.2%
Epoch: 1-3, recalls(1/5/10): 89.8%, 96.8%, 98.2%
Epoch: 1-4, recalls(1/5/10): 90.1%, 96.8%, 98.2%

Epoch: 2-0, recalls(1/5/10): 88.7%, 96.2%, 97.6%
Epoch: 2-1, recalls(1/5/10): 89.5%, 96.8%, 97.8%
Epoch: 2-2, recalls(1/5/10): 89.3%, 96.8%, 98.0%
Epoch: 2-3, recalls(1/5/10): 89.8%, 97.0%, 98.1% (* the best model)
Epoch: 2-4, recalls(1/5/10): 89.7%, 96.8%, 98.0%

Epoch: 3-0, recalls(1/5/10): 2.8%, 10.3%, 18.1%
Epoch: 3-1, recalls(1/5/10): 2.8%, 10.5%, 18.3%
Epoch: 3-2, recalls(1/5/10): 2.8%, 10.5%, 18.1%
Epoch: 3-3, recalls(1/5/10): 2.9%, 10.9%, 18.3%
Epoch: 3-4, recalls(1/5/10): 3.0%, 10.4%, 18.4%

Did I train the model in the wrong way?
Could you please help me to figure out this problem?

@yxgeee
Copy link
Owner

yxgeee commented Jan 31, 2021

Hi, actually I did not face such a problem. Did you modify any setup?

@QuinnQiao
Copy link
Author

QuinnQiao commented Jan 31, 2021

I carefully checked my command line and I used the default settings.
The collapse happens not only in the last generation but also in other generations, which confuses me greatly.

@yxgeee
Copy link
Owner

yxgeee commented Mar 1, 2021

It's quite strange. How about using another random seed?

@QuinnQiao
Copy link
Author

Thanks a lot!

This issue was closed.
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