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

Resume Training #101

Open
FrancescoFornasa opened this issue Apr 17, 2018 · 2 comments
Open

Resume Training #101

FrancescoFornasa opened this issue Apr 17, 2018 · 2 comments

Comments

@FrancescoFornasa
Copy link

Good morning to everyone.
I was wondering how should I change the code for allowing the training to be done in repeating iterations.
Since i can only train the network during nighttime (due to some intersections on that machine with a colleague of mine), I was thinking on starting the training from a CheckPoint model that i saved.
This should be not so hard to implement, but I am struggling in finding a solution by myself, so any suggestion will be very appreciated.
Thank you all a lot for this amazing work.

@aditya1709
Copy link

I tried out a few solutions, nothing seemed to work. It ended up training from the beginning. Have you made any progress on this front?

@kemusa
Copy link

kemusa commented May 25, 2019

I think if you just point the train_dir flag to the directory of your checkpoints it should load your latest checkpoint file from your previous training job.

Also you may have to comment out lines 338 and 339 in train.py as they will delete your checkpoints in that directory before checking for them. Not sure why those lines are there.

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

3 participants