SqueezeNet Problems

58 views
Skip to first unread message

ryands...@gmail.com

unread,
Jul 18, 2017, 11:30:19 AM7/18/17
to Caffe Users
Im trying to install squeezeNet, 
these are the instructions:

SqueezeNet_v1.0/train_val.prototxt          #model architecture
SqueezeNet_v1.0/solver.prototxt             #additional training details (learning rate schedule, etc.)
SqueezeNet_v1.0/squeezenet_v1.0.caffemodel  #pretrained model parameters
when i run the first step i get this error-
im stuck on this step for a long time-any help would do!

decentmakeover@DecentMakeover:~/caffe-master/SqueezeNet$ /home/decentmakeover/caffe-master/build/tools/caffe train -solver SqueezeNet_v1.0/train_val.prototxt
[libprotobuf ERROR google/protobuf/text_format.cc:291] Error parsing text-format caffe.SolverParameter: 8:7: Message type "caffe.SolverParameter" has no field named "layer".
F0718 20:54:54.097170 11317 upgrade_proto.cpp:1101] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse SolverParameter file: SqueezeNet_v1.0/train_val.prototxt
*** Check failure stack trace: ***
    @     0x7f41df4265cd  google::LogMessage::Fail()
    @     0x7f41df428433  google::LogMessage::SendToLog()
    @     0x7f41df42615b  google::LogMessage::Flush()
    @     0x7f41df428e1e  google::LogMessageFatal::~LogMessageFatal()
    @     0x7f41df7f6ef1  caffe::ReadSolverParamsFromTextFileOrDie()
    @           0x40a4d8  train()
    @           0x4072f8  main
    @     0x7f41ddaaf830  __libc_start_main
    @           0x407bc9  _start
    @              (nil)  (unknown)
Aborted (core dumped)
decentmakeover@DecentMakeover:~/caffe-master/SqueezeNet$ 

Enter code here...




Jonathan R. Williford

unread,
Jul 19, 2017, 5:41:34 AM7/19/17
to ryands...@gmail.com, Caffe Users
You need to pass the solver prototxt to the -solver parameter, not the model prototxt:

/home/decentmakeover/caffe-master/build/tools/caffe train -solver SqueezeNet_v1.0/solver.prototxt 

--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users+unsubscribe@googlegroups.com.
To post to this group, send email to caffe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/8fe76147-cfc5-480d-816f-96f3a29551a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ryands...@gmail.com

unread,
Aug 1, 2017, 9:57:53 AM8/1/17
to Caffe Users, ryands...@gmail.com
Thank you so much Williford!.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages