zhengshou / scnn

Segment-CNN: A Framework for Temporal Action Localization in Untrimmed Videos via Multi-stage CNNs
Other
235 stars 102 forks source link

Cannot use C3D v1.1 for demo #33

Open jin-zhe opened 6 years ago

jin-zhe commented 6 years ago

Hi Zhengshou,

Thank you very much for your work on S-CNN. I'm currently trying to run the demo using C3D v1.1 but I realized the demo code was written for v1.0.

I have modified ./demo/pred/pro/feature_extract.sh by replacing ../C3D-v1.0/C3D_sample_rate/build/tools/extract_image_features.bin with ../C3D-v1.1/C3D_sample_rate/build/tools/extract_image_features.

However after doing that, the demo_extract.log reflects the following error:

[libprotobuf ERROR google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 5:3: Unknown enumeration value of "VIDEO_DATA" for field "type".
F0503 16:05:01.509085 32524 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: pred/pro/demo_finetuning_feature_extract.prototxt
*** Check failure stack trace: ***
    @     0x7fd571fdd0ed  google::LogMessage::Fail()
    @     0x7fd571fdf056  google::LogMessage::SendToLog()
    @     0x7fd571fdcc1d  google::LogMessage::Flush()
    @     0x7fd571fdfa2a  google::LogMessageFatal::~LogMessageFatal()
    @     0x7fd5729869d1  caffe::ReadNetParamsFromTextFileOrDie()
    @     0x7fd57291b3b7  caffe::Net<>::Net()
    @           0x403ce2  feature_extraction_pipeline<>()
    @     0x7fd5716db830  __libc_start_main
    @           0x403079  _start
Aborted (core dumped)

I am aware that C3D-v1.0 prototxt files will not work with v1.1 as stated here. However I do not know how to modify it to work. I have tried using "VideoData" and VideoData as suggested in the official example but with no success.

WestBbbbrook commented 6 years ago

hello, I can not compile the 1.0,so i use the 1.1 and meet the same problem, try the same with you. do you have some method now. ...

jin-zhe commented 6 years ago

@WestBbbbrook No I'm sorry, I still don't have a solution for this

Jockey721 commented 5 years ago

same with you,do you get the solution?