facebookarchive / C3D

C3D is a modified version of BVLC caffe to support 3D ConvNets.
Other
1.16k stars 507 forks source link

Check failed: ReadImageSequenceToVolumeDatum(file_list_[id].c_str(), start_frm_list_[id], label_list_[id], new_length, new_height, new_width, sampling_rate, &datum) #145

Closed moyans closed 8 years ago

moyans commented 8 years ago

When I tried to run_ucf101.sh, I got an error message below.Anyone could be so kind to help me ? @daaku log: I0811 18:14:12.801676 10132 video_data_layer.cpp:283] Opening file ../c3d_finetuning/train_01.lst I0811 18:14:12.903743 10132 video_data_layer.cpp:312] Shuffling data I0811 18:14:13.252450 10132 video_data_layer.cpp:317] A total of 107258 video chunks. I0811 18:14:13.252504 10132 video_data_layer.cpp:344] read video from /media/moyan/c0d34b51-8a78-4364-bc19-35003bf01885/DataSet/UCF-101/JumpingJack/v_JumpingJack_g25_c05.avi F0811 18:14:13.252557 10132 video_data_layer.cpp:346] Check failed: ReadImageSequenceToVolumeDatum(filelist[id].c_str(), start_frmlist[id], labellist[id], new_length, new_height, new_width, sampling_rate, &datum) * Check failure stack trace: * @ 0x7f863b8e09fd google::LogMessage::Fail() @ 0x7f863b8e289d google::LogMessage::SendToLog() @ 0x7f863b8e05ec google::LogMessage::Flush() @ 0x7f863b8e31be google::LogMessageFatal::~LogMessageFatal() @ 0x4bca03 caffe::VideoDataLayer<>::SetUp() @ 0x4578e5 caffe::Net<>::Init() @ 0x458b95 caffe::Net<>::Net() @ 0x433adf caffe::Solver<>::Init() @ 0x4371eb caffe::Solver<>::Solver() @ 0x40b416 main @ 0x7f8637471f45 (unknown) @ 0x40e10e (unknown) Aborted (core dumped) and I run: moyan@moyans:/media/moyan/c0d34b51-8a78-4364-bc19-35003bf01885/moyan_caffe/C3D/examples/c3d_train_ucf101$ ls /media/moyan/c0d34b51-8a78-4364-bc19-35003bf01885/DataSet/UCF-101/JumpingJack/v_JumpingJack_g25_c05.avi /media/moyan/c0d34b51-8a78-4364-bc19-35003bf01885/DataSet/UCF-101/JumpingJack/v_JumpingJack_g25_c05.avi

Could you please help? Best

ParitoshParmar commented 8 years ago

@moyans If I understand correctly, then you are giving in video file instead of images, aren't you ?

dutran commented 8 years ago

@moyans you used video, then the option in video_data layer use_image should set to false.

sophiazy commented 7 years ago

@moyans I encounter the same question with you ,have you solve the problem?

egg347 commented 7 years ago

@sophiazy Me too! What did you do to solve it?

egg347 commented 7 years ago

@ParitoshParmar @dutran I used images as input and encountered the same problem ,could you please help me to fix it? Should I adjust input layer's layer type to "ImageData" and adjust the list file in *.prototxt as I do on other normal caffe programs?