[英]Object detection - ImportError: DLL load failed: The specified module could not be found
Issue in Tensorflow Object Detection model models Tensorflow 对象检测模型模型中的问题
From this installation guide : https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/installation.md从这个安装指南: 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/" COCO API 安装:复制-“ pycocotools ”到“/models/research/”
From tensorflow/models/research/ i ran below command从 tensorflow/models/research/ 我运行下面的命令
protoc object_detection/protos/*.proto --python_out=.
Added Libraries to PYTHONPATH (using Set since i am on windows)将库添加到 PYTHONPATH(使用 Set,因为我在 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.导入错误:DLL 加载失败:找不到指定的模块。 Failed to load the native TensorFlow runtime.
无法加载本机 TensorFlow 运行时。 See https://www.tensorflow.org/install/errors for some common reasons and solutions.
有关一些常见原因和解决方案,请参阅https://www.tensorflow.org/install/errors 。 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.您很可能缺少适用于 Visual Studio 2015、2017 和 2019 的 Microsoft Visual C++ Redistributable。
Download both 32 and 64 bits versions here: ( x86 , x64 ).在此处下载 32 位和 64 位版本:( x86 , x64 )。
Cf.参见this issue https://github.com/tensorflow/tensorflow/issues/35749
这个问题https://github.com/tensorflow/tensorflow/issues/35749
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.