C3D icon indicating copy to clipboard operation
C3D copied to clipboard

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

Open devjaynemorais opened this issue 5 years ago • 4 comments

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)

devjaynemorais avatar Jun 13 '19 21:06 devjaynemorais

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

puneet29 avatar Aug 24 '19 13:08 puneet29

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

devjaynemorais avatar Aug 24 '19 16:08 devjaynemorais

@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 avatar Aug 24 '19 19:08 puneet29

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

puneet29 avatar Aug 25 '19 19:08 puneet29