TheLegendAli / DeepLab-Context2

Other
42 stars 32 forks source link

error about "IMAGE_SEG_DATA" when running run.py #12

Open shawnzxf opened 7 years ago

shawnzxf commented 7 years ago

Hi, @TheLegendAli After installing Deeplab v2, I ran the run.py in your code and there is an error:

Training1 net voc12/vgg128_noup Running ./.build_release/tools/caffe.bin train --solver=voc12/config/vgg128_noup/solver_train_aug.prototxt --weights=voc12/model/vgg128_noup/init.caffemodel --gpu=0 I0404 16:29:25.345587 11912 caffe.cpp:185] Using GPUs 0 I0404 16:29:25.356923 11912 caffe.cpp:190] GPU 0: GeForce GTX 1080 I0404 16:29:25.943851 11912 solver.cpp:48] Initializing solver from parameters: train_net: "voc12/config/vgg128_noup/train_train_aug.prototxt" base_lr: 0.001 display: 10 max_iter: 6000 lr_policy: "step" gamma: 0.1 momentum: 0.9 weight_decay: 0.0005 stepsize: 2000 snapshot: 2000 snapshot_prefix: "voc12/model/vgg128_noup/train" solver_mode: GPU device_id: 0 I0404 16:29:25.944027 11912 solver.cpp:81] Creating training net from train_net file: voc12/config/vgg128_noup/train_train_aug.prototxt [libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.NetParameter: 24:3: Unknown enumeration value of "IMAGE_SEG_DATA" for field "type". F0404 16:29:25.944350 11912 upgrade_proto.cpp:68] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: voc12/config/vgg128_noup/train_train_aug.prototxt Check failure stack trace: @ 0x7f2a37b0bdaa (unknown) @ 0x7f2a37b0bce4 (unknown) @ 0x7f2a37b0b6e6 (unknown) @ 0x7f2a37b0e687 (unknown) @ 0x7f2a382b31be caffe::ReadNetParamsFromTextFileOrDie() @ 0x7f2a38157477 caffe::Solver<>::InitTrainNet() @ 0x7f2a381584bc caffe::Solver<>::Init() @ 0x7f2a381587ea caffe::Solver<>::Solver() @ 0x7f2a38143993 caffe::Creator_SGDSolver<>() @ 0x40edce caffe::SolverRegistry<>::CreateSolver() @ 0x407f12 train() @ 0x405cac main @ 0x7f2a35e67f45 (unknown) @ 0x40647d (unknown) @ (nil) (unknown) Aborted (core dumped)

Can you help me fix the problem? It would be better if you can give solution in detail. Thanks a lot!

tianyu06030020 commented 7 years ago

@ShelffonZhao ShelffonZhao 我也报IMAGE_SEG_DATA找不到的错误 你怎么解决的?

Tsakunelson commented 6 years ago

I just had the same exact error too. Help prior to this would be much appreciated. Attached is a screenshot of the same error. Thanks caffetrainaborted

Gokulakrishnan-96 commented 5 years ago

I am also facing the same issue as above. Somone help please! Especially, @TheLegendAli