taokong/RON

Save Model every 20 iters

luuuyi opened this issue · 3 comments

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

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

@taokong OK, Thank you for helping