WaqasSultani / AnomalyDetectionCVPR2018

502 stars 182 forks source link

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

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.

I've also tried the Google Colabotative project, and it gives the same execution error when it arrives at that step. Google Colabotative project

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)

junaid-khalid commented 5 years ago

Same issue. Same code executed successfully a week ago on Colab. Its not related to CUDA. Some other internal error I cannot find.

Please execute and see output:

import tensorflow as tf device_name = tf.test.gpu_device_name() if device_name != '/device:GPU:0': raise SystemError('GPU device not found') print('Found GPU at: {}'.format(device_name))

In my case GPU was accessible.