-
Notifications
You must be signed in to change notification settings - Fork 92
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
Still... Unknown enumeration value of "MULTI_STAGE_MEANFIELD" for field "type". #20
Comments
Hi @anguszxd, It can be caused by one of two problems:
Cheers, Martin |
Hi @martinkersner , thank you for your advice ! |
Hi @martinkersner, Thanks and best regards |
… set_mode_gpu function from net, and instead use the caffe.set_mode_gpu. Ref: martinkersner#20 (comment)
Dear @martinkersner , thanks a lot for your contribution.
I'm trying to train CRFasRNN using other datasets instead of PASCAL VOC2012. As I'm not familiar with caffe, I run your training code first. However I faile when I try to run
solve.py
. It reports that:**WARNING: Logging before InitGoogleLogging() is written to STDERR
I0614 20:21:07.813674 4671 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
I0614 20:21:07.813732 4671 solver.cpp:96] Creating training net from net file: TVG_CRFRNN_COCO_VOC_TRAIN_3_CLASSES.prototxt
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 226:3: Unknown enumeration value of "MULTI_STAGE_MEANFIELD" for field "type".
F0614 20:21:07.814872 4671 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: *****
I notice that you advise to check caffe version, but I really use caffe from https://github.com/torrvision/crfasrnn, and compile it successfully. I also run demo test script in folder crfasrnn/python-script. I'm confused now and don't know how to solve such problem.
An other issue in https://github.com/torrvision/crfasrnn/issues/45 also report this problem and the author solves it himself. But I still can't get the solution. Would you kindly check this problem? Thanks a lot and best wishes!
The text was updated successfully, but these errors were encountered: