scnn icon indicating copy to clipboard operation
scnn copied to clipboard

Cannot use C3D v1.1 for demo

Open jin-zhe opened this issue 6 years ago • 3 comments

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.

jin-zhe avatar May 03 '18 08:05 jin-zhe

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. ...

WestBbbbrook avatar May 24 '18 14:05 WestBbbbrook

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

jin-zhe avatar May 28 '18 09:05 jin-zhe

same with you,do you get the solution?

Jockey721 avatar Aug 17 '19 12:08 Jockey721