caffe icon indicating copy to clipboard operation
caffe copied to clipboard

can't add model as weights into a new model

Open mingtop opened this issue 11 years ago • 2 comments

first, I train a 3 layers autoencoder and get a weights 1024_2048 /2048 * 1024 then , I want to stacked autoencoder ,so a train a stacked auto encouder 1024~2048~1024~2028~1024. I want fill the first weights I trained in step1 into step2's stacked autoencoder. I used the --weights in an _.sh file to train. but , when I finished the train, I got this:


optimization Done. ./examples/test5/test2.sh: 6: ./examples/test5/test2.sh: --weights=examples/test5/cifar_test2_modify.caffemodel: not found


please help me~

mingtop avatar Jan 26 '15 01:01 mingtop

And I am sure my folder has that file

mingtop avatar Jan 26 '15 05:01 mingtop

This is just a shell scripting error and not about Caffe -- the script loads from the current working directory.

shelhamer avatar Jan 29 '15 18:01 shelhamer