The mean file returned by compute_volume_mean_from_list.bin is empty #38
Comments
Yes, your mean file is empty because of IO error.
|
I have tried both the solutions! |
Oops, just check and realize the tool only takes images.
|
Great :) Thanks for the clarification. |
Dear Tran, I have written down the frames from the videos with each folder being named after the video, and every frame named after the frame numbers. eg: 1.jpg, 2.jpg,... and my train.lst looks like this now: c3d_finetuning_HMDB51/dataFrames1/April_09_brush_hair_u_nm_np1_ba_goo_0/ 1 0 And I still get a mean file of 10Bytes. Am I passing the correct values ? |
you should make your file names as %06d.jpg |
Thank you. I have got the mean file now. |
Glad to hear, good luck with your experiments! |
hi du,i use ffmpeg to extract frames from videos,here is an example of my frames: and,when i run the create_volume_mean file,there some error: sh create_volume_mean.shI1202 14:35:56.476048 31451 compute_volume_mean_from_list.cpp:53] using dropping rate 10 I check the compute_volum_mean_from_list.cpp: ReadImageSequenceToVolumeDatum(frm_dir.c_str(), start_frm, label, length, height, width, sampling_rate, &datum); i think the erro happen in the function ReadImageSequenceToVolumeDatum,the height=128,width=171,and datum.height()=0,datum.width()=0. so ,what do you think the error is ,thank you ! |
@vignesh10 Hello, I want to finetune the C3D network on HMDB51 just like you. My loss goes down from 4.8 to 0.02. But test accuracy is very low. It is only 1%. Did you meet similar problem like me? And I will be appreciate if you share your trained model and solver on HMDB51. Thanks a lot! |
@Michael-Guo, Please check ur training accuracy. If it is saturating, then ur network isnt learning anything. It has simply over-fit to ur training set. If I were you, I would look at the input data again. Good Luck! |
@vignesh10 It is a good idea! But what's the meaning of word 'ur'? |
Sorry for the slang.. it is your*
|
I am trying to compute the mean volume of the dataset HMDB-51 and I run this code:
GLOG_logtostderr=1 ../../build/tools/compute_volume_mean_from_list.bin c3d_finetuning_HMDB51/train2.lst 16 128 171 1 hmdb51_train_mean.binaryproto 10
My train.lst looks like this:
c3d_finetuning_HMDB51/data/April_09_brush_hair_u_nm_np1_ba_goo_0.avi 1 0
c3d_finetuning_HMDB51/data/April_09_brush_hair_u_nm_np1_ba_goo_0.avi 17 0
c3d_finetuning_HMDB51/data/April_09_brush_hair_u_nm_np1_ba_goo_0.avi 33 0
c3d_finetuning_HMDB51/data/April_09_brush_hair_u_nm_np1_ba_goo_0.avi 49 0
I1021 15:24:30.223497 28438 compute_volume_mean_from_list.cpp:53] using dropping rate 10
I1021 15:24:30.223736 28438 compute_volume_mean_from_list.cpp:80] Starting Iteration
E1021 15:24:30.296300 28438 compute_volume_mean_from_list.cpp:112] Processed 2872 files.
I1021 15:24:30.296344 28438 compute_volume_mean_from_list.cpp:119] Write to hmdb51_train_mean.binaryproto
I get an output file hmdb51_train_mean.binaryproto which is of size 10Bytes.
I have checked the 2 suggestions related to issue-30:
I have tried both and yet the same empty file is returned.
P.S: I do not have any other problems with the code. I am able to extract the features as well.
Thanks in advance!
The text was updated successfully, but these errors were encountered: