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

How many epochs to train to get an successful result? #23

Closed
SeungyounShin opened this issue Oct 13, 2020 · 3 comments
Closed

How many epochs to train to get an successful result? #23

SeungyounShin opened this issue Oct 13, 2020 · 3 comments

Comments

@SeungyounShin
Copy link

I trained tusimple_efficientnet-b0 (pretrained) for 40 epoches and loss are around 15. (I also got poor qualitative result from test.py)

@lucastabelini
Copy link
Owner

Depends on the dataset. For the paper, I trained on ELAS and LLAMAS for additional 385 and 75 epochs, respectively.

@SeungyounShin
Copy link
Author

How about TuSimple? I trained TuSimple for 115epoches with efficientdet-b0, batch10
Accuracy is around 0.45 and qualitative result doesn't seems like it would be.
Default epoches is 2695 and I wonder how many epoches to train to get reasonable results.
Because, training 115 epoch has no advance since loss down to 15.

@lucastabelini
Copy link
Owner

Default epoches is 2695 and I wonder how many epoches to train to get reasonable results.

I can't remember what was the lowest number I did experiments with. You'll have to try a few different values if you do want to reduce it.

Because, training 115 epoch has no advance since loss down to 15

With the Cosine Annealing learning rate scheduler (the default), it's important to adjust its parameters every time you modify the number of epochs. Therefore, make sure you did adjust it accordingly.

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