HakuSean / DA-Net

The codes on Caffe for ECCV 2018 paper Dividing and Aggregating Network for Multi-view Action Recognition
5 stars 0 forks source link

Message type "caffe.LossParameter" has no field named "view_label" #2

Closed AntonioMarsella closed 5 years ago

AntonioMarsella commented 5 years ago

Hi, congrats for this great job and for sharing the implementation. I am having an issue running: bash scripts/train.sh ntu rgb in5b_branch 1

logging to logs/ntu_logs/in5b_branch/rgb_split1.log I0924 10:58:35.820510 13 caffe.cpp:112] Use CPU. I0924 10:58:36.988476 13 caffe.cpp:120] Swtiching to GPU 0 I0924 10:58:36.989192 13 caffe.cpp:190] Starting Optimization I0924 10:58:36.989300 13 solver.cpp:34] Initializing solver from parameters: test_iter: 2000 test_interval: 500 base_lr: 0.001 display: 20 max_iter: 20000 lr_policy: "multistep" gamma: 0.1 momentum: 0.9 weight_decay: 0.0005 snapshot: 1000 snapshot_prefix: "models/ntu/in5b_branch/caffemodel/rgb_split1" solver_mode: GPU device_id: 0 device_id: 1 debug_info: false net: "models/ntu/in5b_branch/split1/rgb_train_val.prototxt" test_initialization: true average_loss: 20 stepvalue: 12000 stepvalue: 18000 clip_gradients: 40 iter_size: 1 richness: 200 I0924 10:58:36.989327 13 solver.cpp:75] Creating training net from net file: models/ntu/in5b_branch/split1/rgb_train_val.prototxt [libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 952:154: Message type "caffe.LossParameter" has no field named "view_label". F0924 10:58:36.991516 13 upgrade_proto.cpp:928] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/ntu/in5b_branch/split1/rgb_train_val.prototxt Check failure stack trace: @ 0x7fdeb52ac5cd google::LogMessage::Fail() @ 0x7fdeb52ae433 google::LogMessage::SendToLog() @ 0x7fdeb52ac15b google::LogMessage::Flush() @ 0x7fdeb52aee1e google::LogMessageFatal::~LogMessageFatal() @ 0x7fdeb5647c11 caffe::ReadNetParamsFromTextFileOrDie() @ 0x7fdeb56206af caffe::Solver<>::InitTrainNet() @ 0x7fdeb5621a2e caffe::Solver<>::Init() @ 0x7fdeb5621bf6 caffe::Solver<>::Solver() @ 0x411f70 caffe::GetSolver<>() @ 0x409586 train() @ 0x406fc0 main @ 0x7fdeb41b0830 __libc_start_main @ 0x4074f9 _start @ (nil) (unknown) Setting device 0

Do you have any idea for "caffe.LossParameter" has no field named "view_label". ?

Thank you!