ImportError: DLL load failed:
I have got this error when after running this code "python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config"
Can anyone suggest a solution for this.
C:\tensorflow1\models\research\object_detection>python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/faster_rcnn_inception_v2_pets.config
Traceback (most recent call last):
File "C:\Users\Thisath\Anaconda3\envs\hima\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "train.py", line 47, in
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.
SAMe here ! anyone can Help!!!
SAMe here ! anyone can Help!!!
I've solved it by reinstall correctly the CUDA and CUDNN.Also installed Visual C++ by using visual studio.
We struggled with this DLL error for days, until we finally deleted and reinstalled Anaconda and just ran
conda install tensorflow-gpu
after setting up the virtual environment (conda create --name tf_gpu).
It apparently downloaded cudatoolkit and cudnn again via conda installer and suddenly everything worked!
@Freefallr thanks man!
I was running into the same DLL issues and couldn't get it figured out. You're right, deleting and re-installing Anaconda and then using conda install tensorflow-gpu (rather than pip install tensorflow-gpu) solves the problem.
For others: when you use the "conda install tensorflow-gpu" command, it will automatically download the appropriate versions of TensorFlow, CUDA and cuDNN. If you are having issues with DLL errors, I recommend following the fix suggested by @Freefallr .
No worries, glad I could help! :-)
Am Sa., 22. Juni 2019 um 07:50 Uhr schrieb Evan [email protected]:
Closed #266 https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/issues/266 .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10/issues/266?email_source=notifications&email_token=ABT3BV75623VODQUQZKGDYLP3W4SLA5CNFSM4HER7CM2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOSDZHZAY#event-2431810691, or mute the thread https://github.com/notifications/unsubscribe-auth/ABT3BVZ3FK3SBXSGDRVI57DP3W4SLANCNFSM4HER7CMQ .
-- Mit freundlichen Grüßen, Ivan Dukic, BA