简体   繁体   中英

Object detection - ImportError: DLL load failed: The specified module could not be found

Issue in Tensorflow Object Detection model models

From this installation guide : https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md

i started my installation

pip install --user Cython

pip install --user contextlib2

pip install --user pillow

pip install --user lxml

pip install --user jupyter

pip install --user matplotlib

COCO API installation: copied - " pycocotools " to "/models/research/"

From tensorflow/models/research/ i ran below command

protoc object_detection/protos/*.proto --python_out=.

Added Libraries to PYTHONPATH (using Set since i am on windows)

set PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim

Testing the Installation :

python object_detection/builders/model_builder_test.py

error :

ImportError: DLL load failed: The specified module could not be found. 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.

Most likely, you are missing Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.

Download both 32 and 64 bits versions here: ( x86 , x64 ).

Cf.this issue https://github.com/tensorflow/tensorflow/issues/35749

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM