caffe icon indicating copy to clipboard operation
caffe copied to clipboard

finetune_net.bin deprecated?

Open dongguangyao opened this issue 12 years ago • 5 comments

Dear Sir: I want to do some classfication on my own data based on the imagenet architecture. After converting the data to lmdb. I wrote a shell to run that,like following: finetune_net.bin xxx/solver reference_model. However, it says that i need to utilize caffe train --solver =... [--weights = ... ] instead, Therefore, I wrote the command like that: finetune_net.bin caffe train --slover = xxx/solver. However, it still occurs that problem. As the result of that, could you give me a favor and tell me how to overcome that? Thank you

Best Regards

dongguangyao avatar Oct 24 '14 03:10 dongguangyao

Hi, As I know "finetune_net.bin" is Deprecated. So do not use it. To run fine-tune at own data, you need to run caffe train --solver= solver.prototxt -weights _iter_5000.caffemodel Where solver set your configuration and weights point model, which you want to fine-tune

melgor avatar Oct 24 '14 05:10 melgor

Hi: Thank you for you help, It works but it occurs another problem, it says check failed: mdb_env_open(mdb_env_,) this->layer_param().source().c_str()...mdb_env_open failed. Could you tell me how to fix that? Thank you very much. Best Regards

dongguangyao avatar Oct 24 '14 07:10 dongguangyao

Double check the paths in your prototxt file. I think that error means it can't find one of the lmdb files

npow avatar Oct 25 '14 06:10 npow

@melgor hello! could you indicate me where "caffe" should be located? In caffe 0.999 there is no directory "tools" so I can not run finetuning :(

Elpidam avatar Oct 07 '15 13:10 Elpidam

Did you compile the Caffe? If so, go into build/tools and there is "caffe" bianary, which should be used for fine-tunning.

melgor avatar Oct 08 '15 06:10 melgor