Open prateek-kacker opened 7 years ago
Why do you use sampling rate is too high? e.g. 25
Sorry, I thought it was frame rate.. What is the meaning of sampling rate?
1 mean that you keep all frames, 2 mean that you skip every other frames, and so on. Now, if your video has 30fps, then your reader will read at 30fps, but if you pick sampling rate=2, meaning your data loader gives you data at 15fps.
Thanks Du... What does height and width mean? Does it mean "resized" or "actual" height and width. I will try to run the script tomorrow morning and let u know
On Mar 15, 2017 9:50 PM, "Du Tran" notifications@github.com wrote:
1 mean that you keep all frames, 2 mean that you skip every other frames, and so on. Now, if your video has 30fps, then your reader will read at 30fps, but if you pick sampling rate=2, meaning your data loader gives you data at 15fps.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/facebook/C3D/issues/217#issuecomment-286957311, or mute the thread https://github.com/notifications/unsubscribe-auth/AHq8ivgaYzn36csvcKj0-9fHEoRzgzaFks5rmL9_gaJpZM4MdMkc .
it will resize your images to height x width resolution.
@prateek-kacker have you resolved your issue?
Hi Du,
It did not solve my problem. I am getting an error.
I am executing the following command:-
GLOG_logtostderr=1 ../../build/tools/compute_volume_mean_from_list.bin list_HAR_train.out 16 128 128 1 HAR_train_mean.binaryproto
and I got the following error.
ubuntu@ip-172-31-28-247:~/c3d_train_ucf101$ ./create_volume_mean.sh I0317 18:34:37.716183 9964 compute_volume_mean_from_list.cpp:80] Starting Iteration F0317 18:34:37.758111 9964 compute_volume_mean_from_list.cpp:92] Check failed: size_in_datum == data_size (786432 vs. 0) Incorrect data field size 786432 Check failure stack trace: @ 0x7f47e239b03d google::LogMessage::Fail() @ 0x7f47e239cea3 google::LogMessage::SendToLog() @ 0x7f47e239abcb google::LogMessage::Flush() @ 0x7f47e239d88e google::LogMessageFatal::~LogMessageFatal() @ 0x409cfe main @ 0x7f47e03bc830 __libc_start_main @ 0x409f69 _start ./create_volume_mean.sh: line 1: 9964 Aborted (core dumped) GLOG_logtostderr=1 ../../build/tools/compute_volume_mean_from_list.bin list_HAR_train.out 16 128 128 1 HAR_train_mean.binaryproto
With Regards, Prateek Kacker
On Fri, Mar 17, 2017 at 11:26 AM, Du Tran notifications@github.com wrote:
@prateek-kacker https://github.com/prateek-kacker have you resolved your issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/facebook/C3D/issues/217#issuecomment-287435000, or mute the thread https://github.com/notifications/unsubscribe-auth/AHq8iitcaviWHzLoYHi7H_vklxhigUjcks5rmtBxgaJpZM4MdMkc .
Hi, may be your command is missing the sampling rate.
‘’GLOG_logtostderr=1 ../../build/tools/compute_volume_mean_from_list.bin list_HAR_train.out 16 128 128 1 HAR_train_mean.binaryproto ‘’
VS
‘’GLOG_logtostderr=1 ../../build/tools/compute_volume_mean_from_list.bin list_HAR_train.out 16 128 128 1 HAR_train_mean.binaryproto 1‘’?
Hello I also have a same problem when I use compute_volume_mean.sh ,and my command is GLOG_logtostderr=1 ../../C3D-v1.0/C3D_sample_rate/build/tools/compute_volume_mean_from_list.bin ../c3d_finetuning/train_02.lst 16 128 171 1 ucf101_train_mean.binaryproto 10 and I got the following error:
Check failed: size_in_datum == data_size (0 vs. 1050624) Incorrect data field size 0 Check failure stack trace: @ 0x7f5bf1a1a5cd google::LogMessage::Fail() @ 0x7f5bf1a1c433 google::LogMessage::SendToLog() @ 0x7f5bf1a1a15b google::LogMessage::Flush() @ 0x7f5bf1a1ce1e google::LogMessageFatal::~LogMessageFatal() @ 0x40ab62 main @ 0x7f5bedc75830 __libc_start_main @ 0x40a499 _start @ (nil) (unknown) Aborted (core dumped)
Hello,
I am using compute_volume_mean.sh and my exact command is
GLOG_logtostderr=1 ../../build/tools/compute_volume_mean_from_list.bin list_HAR_train.out 16 128 128 25 HAR_train_mean.binaryproto 1
The machine seems to use 20GB of RAM and takes around 15 seconds to process but I get10 bits of output file "HAR_train_mean.binaryproto".
The list of file which I have in list_HAR_train.out are in format /home/ubuntu/C3D/C3D-v1.1/examples/c3d_ucf101_feature_extraction/HAR_Videos/1/WIN_20170301_10_48_55_Pro/ 0 1 /home/ubuntu/C3D/C3D-v1.1/examples/c3d_ucf101_feature_extraction/HAR_Videos/1/WIN_20170301_10_48_55_Pro/ 16 1 /home/ubuntu/C3D/C3D-v1.1/examples/c3d_ucf101_feature_extraction/HAR_Videos/1/WIN_20170301_10_48_55_Pro/ 32 1 /home/ubuntu/C3D/C3D-v1.1/examples/c3d_ucf101_feature_extraction/HAR_Videos/1/WIN_20170301_10_48_55_Pro/ 48 1 / ...
What mistake am I making and what is the significance of sampling rate if we are giving frame number and length of video frames?
Thanks, Prateek