yjxiong / anet2016-cuhk

Action Recognition Toolbox for CUHK&ETHZ&SIAT submission to ActivityNet 2016
BSD 2-Clause "Simplified" License
252 stars 92 forks source link

"caffe.LayerParameter" has no field named "bn_param" #2

Closed wandering007 closed 8 years ago

wandering007 commented 8 years ago

Run example python examples/classify_video.py data/plastering.avi with error:

libprotobuf ERROR google/protobuf/text_format.cc:172] Error parsing text-format caffe.NetParameter: 52:12: Message type "caffe.LayerParameter" has no field named "bn_param".
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0901 16:20:27.977401 28675 upgrade_proto.cpp:79] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/resnet200_anet_2016_deploy.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)
yjxiong commented 8 years ago

Which Caffe version are you using? Please use the Caffe provided by us.

kousik97 commented 7 years ago

How did u fix this?

wandering007 commented 7 years ago

@kousik97 Just use the specified-version caffe.

MuLx10 commented 6 years ago

change bn_param to batch_norm_param

yjxiong commented 6 years ago

@MuLx10

They are used by different layers. Please follow the original poster's solution.