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

Error "MULTI_STAGE_MEANFIELD" and Failed to parse NetParameter file #49

Open
matthiasmace opened this issue Nov 7, 2017 · 1 comment

Comments

@matthiasmace
Copy link

Dear Martin
In am willing to make the training run on MacOS. I am able to use CRFasRNN but when I want I run solve.py, I get the following errors :
WARNING: Logging before InitGoogleLogging() is written to STDERR
I1107 23:19:23.737943 3726271424 solver.cpp:54] Initializing solver from parameters:
test_iter: 261
test_interval: 1333
base_lr: 1e-13
display: 50
max_iter: 100000
lr_policy: "fixed"
momentum: 0.99
weight_decay: 0.0005
snapshot: 1000
snapshot_prefix: "models/train"
solver_mode: GPU
net: "TVG_CRFRNN_COCO_VOC_TRAIN_3_CLASSES.prototxt"
test_initialization: false
I1107 23:19:23.738425 3726271424 solver.cpp:96] Creating training net from net file: TVG_CRFRNN_COCO_VOC_TRAIN_3_CLASSES.prototxt
[libprotobuf ERROR google/protobuf/text_format.cc:287] Error parsing text-format caffe.NetParameter: 224:3: Unknown enumeration value of "MULTI_STAGE_MEANFIELD" for field "type".
F1107 23:19:23.739708 3726271424 upgrade_proto.cpp:932] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: TVG_CRFRNN_COCO_VOC_TRAIN_3_CLASSES.prototxt
*** Check failure stack trace: ***

Any idea please ?

@Sam813
Copy link

Sam813 commented May 21, 2018

hi,
first, check if you install correct caffe version which has the MULTI_STAGE... layer.
second, consider checking the prototext. It is written in the older caffe version, for instance the layers must be replaced with layer, also CONVOLUTION with "Convolution".
a better way is to cross check it with network prototext (TVG_CRFRNN_new_deploy.prototxt)

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