facebookarchive / C3D

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

[C3D v.1.0] Failed to execute: sh c3d_sport1m_feature_extraction_frm.sh #443

Open devjaynemorais opened 5 years ago

devjaynemorais commented 5 years ago

I'm running the project in a docker container, but I can not execute the command sh c3d_sport1m_feature_extraction_frm.sh from the C3D Feature Extraction session of the C3D User Guide.

I have cuda_8.0.44_linux-ubuntu-16.04 installed.

Can anybody help me?

$user:/C3D/C3D-v1.0/examples/c3d_feature_extraction# sh c3d_sport1m_feature_extraction_frm.sh

[...] v_BaseballPitch_g01_c01/000103.jpg v_BaseballPitch_g01_c01/000104.jpg v_BaseballPitch_g01_c01/000105.jpg v_BaseballPitch_g01_c01/000106.jpg v_BaseballPitch_g01_c01/000107.jpg WARNING: Logging before InitGoogleLogging() is written to STDERR E0613 21:09:21.729588 30662 common.cpp:31] Cannot create Cublas handle. Cublas won't be available. E0613 21:09:21.738553 30662 common.cpp:38] Cannot create Curand generator. Curand won't be available. F0613 21:09:21.747910 30662 common.cpp:68] Check failed: error == cudaSuccess (30 vs. 0) unknown error Check failure stack trace: Aborted (core dumped)

puneet29 commented 5 years ago

Hey, @devjaynemorais Do you have a GPU on the machine where you are trying to run the command?

devjaynemorais commented 5 years ago

@puneet29 , I tried on machine with GPU and no GPU.

puneet29 commented 5 years ago

@devjaynemorais Can you please try out for the following command:

mkdir -p output/c3d/v_ApplyEyeMakeup_g01_c01
mkdir -p output/c3d/v_BaseballPitch_g01_c01
GLOG_logtosterr=1 ../../build/tools/extract_image_features.bin prototxt/c3d_sport1m_feature_extractor_video.prototxt conv3d_deepnetA_sport1m_iter_1900000 -1 50 1 prototxt/output_list_video_prefix.txt fc7-1 fc6-1 prob
puneet29 commented 5 years ago

@devjaynemorais I had the same problem when I tried it for the first time. I've forked the repo and made few changes (you can check the repo here). Let me know if it works for you now. It had probably something to do with the CUDA architecture [In makefile.config], that's what I am guessing.