-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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 from solverstate? #77
Comments
I have the same issue. Could you solve it? |
If you look at the end of this issue rbgirshick/fast-rcnn#35 the solution seems change the value of snapshot from 0 to 1000 or some number that you like in teh solver.prototxt I tried this and i could obtain the solver state. The only problem is that this solver state is saved in the folder that you run caffe, not in the output folder. I hope that this help you. |
I think you can close the issue. |
Hi! You must omit the weight parameter when you want to start from a solver If you see the lib/fast_rcnn/train.py you will see that in the function
So if you pass a weight parameter, you will never fall in the else part, So, you should start the train with something like this: (i think that you ./tools/train_net.py Hope i help you. God bless you =) Eric 2016-04-13 1:47 GMT-03:00 daf11865 notifications@github.com:
|
@eternautaCAT |
I changed everything as mentioned by @eternautaCAT. Appending horizontally-flipped training examples... |
How are you running the train? Would you show me the command? |
Is it possible to resume training in 'alternate training' method also? |
I didn't try with the alternate training, but should work, because you only have to change lib/fast_rcnn/train.py (and maybe train_net.py if the option to take the solver state is not there, I changed my code so I don't remember), and those files are the same for end2end and alternate. |
Hi, Is this option always available ? |
What other parameters do I have to set when training using
./experiments/scripts/faster_rcnn_end2end.sh 0 ZF
in order to resume training from a snapshot?
In Caffe I know that the command
./build/tools/caffe train --solver=models/bvlc_reference_caffenet/solver.prototxt --snapshot=models/bvlc_reference_caffenet/caffenet_train_iter_10000.solverstate
is used for this purpose. However, in the directory py-faster-rcnn/output/faster_rcnn_end2end/voc_2007_trainval/ there is not any file *.solverstate, only *.caffemodel.
Thank you
The text was updated successfully, but these errors were encountered: