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 save the model and how to use it next time #49

Closed
hheavenknowss opened this issue Jun 6, 2019 · 2 comments
Closed

How to save the model and how to use it next time #49

hheavenknowss opened this issue Jun 6, 2019 · 2 comments

Comments

@hheavenknowss
Copy link

Hello there.I wonder how to save the model when I training and how to use it next time.I've noticed that there is a dir named cache , and it stored some parameters like CenterNet-104_iteration.pkl, I don't know whether it is the thing I want,and how to use it next time,like what commands shuold I enter.Thank you very much.

@Duankaiwen
Copy link
Owner

The corresponding codes are in line 134 in nnet/py_factory.py. If you want to use the saved model next time, for example, the model at 380000th iteration add '--iter 380000 ' into ’python test.py CenterNet-104 --testiter 480000 --split ‘

@hheavenknowss
Copy link
Author

The corresponding codes are in line 134 in nnet/py_factory.py. If you want to use the saved model next time, for example, the model at 380000th iteration add '--iter 380000 ' into ’python test.py CenterNet-104 --testiter 480000 --split ‘

I find out myself,thank you anyway

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