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 started from zero again! #91

Open
zobeirraisi opened this issue Jul 4, 2021 · 3 comments
Open

Resume started from zero again! #91

zobeirraisi opened this issue Jul 4, 2021 · 3 comments

Comments

@zobeirraisi
Copy link

When I resume the trained model, it starts from zero?
Or when I specify the path, it gives me the following error:
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

@PeizeSun
Copy link
Owner

PeizeSun commented Jul 5, 2021

Hi~
Can you provide your command line?

@zobeirraisi
Copy link
Author

Thanks for your response,
I tried the following:
python projects/SparseRCNN/train_net.py --num-gpus 1 \ --config-file projects/SparseRCNN/configs/sparsercnn.res50.300pro.3x.yaml --resume
and
python projects/SparseRCNN/train_net.py --num-gpus 1 \ --config-file projects/SparseRCNN/configs/sparsercnn.res50.300pro.3x.yaml --resume output/
The above worked but started from zero .

@PeizeSun
Copy link
Owner

PeizeSun commented Jul 8, 2021

python projects/SparseRCNN/train_net.py --num-gpus 1 --config-file projects/SparseRCNN/configs/sparsercnn.res50.300pro.3x.yaml --resume
works well in my case.

Do you delete last_checkpoint in output folder?

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