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

Save Model every 20 iters #7

Closed
luuuyi opened this issue Aug 8, 2017 · 3 comments
Closed

Save Model every 20 iters #7

luuuyi opened this issue Aug 8, 2017 · 3 comments

Comments

@luuuyi
Copy link

luuuyi commented Aug 8, 2017

Hello. When I used your method and framework to train on Pascal VOC. I found that the method save caffemodel every 20 iters, and I did not hope it save model too frequently. Then I modified your solver.prototxt, use snapshot: 10000 to change your original code, but it did not work. Could you told me how to modify your code and make my idea work.

weight_decay: 0.0005
#We disable standard caffe solver snapshotting and implement our own snapshot
#function
snapshot: 0
#We still use the snapshot prefix, though
snapshot_prefix: "RON-REDUCED"
#debug_info: true
@taokong
Copy link
Owner

taokong commented Aug 8, 2017

You could change the __C.TRAIN.SNAPSHOT_ITERS(line 65) in lib/fast_rcnn/config.py to your snapshot iters

@taokong
Copy link
Owner

taokong commented Aug 8, 2017

@luuuyi

@luuuyi
Copy link
Author

luuuyi commented Aug 8, 2017

@taokong OK, Thank you for helping

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