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 to continue train, If it is stopped somehow? #63

Open
OliverLING071 opened this issue Mar 31, 2021 · 1 comment
Open

How to continue train, If it is stopped somehow? #63

OliverLING071 opened this issue Mar 31, 2021 · 1 comment

Comments

@OliverLING071
Copy link

No description provided.

@knicholes
Copy link

If you read main.py, you'll see all of the command line arguments you can supply. One of those arguments is --resume. Note, however, that if you haven't trained at least 100,000 epocs, you will not have saved your model, but there will be one saved in your results dir under YOUR_DATASET_NAME_params_latest.py. If you copy that into your results/YOUR_DATASET_NAME/model/YOUR_DATASET_NAME_params_<zero padded integer of the iteration you last saved on (a multiple of 1,000 by default), you can use the --resume, and it'll pick up where it left off.

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