python - https://github.com/ildoonet/tf-pose-estimation 步骤给了我错误
问题描述
无法加载原生 TensorFlow 运行时。
请参阅https://www.tensorflow.org/install/install_sources#common_installation_probl ems
出于一些常见的原因和解决方案。寻求帮助时,请在此错误消息上方包含整个堆栈跟踪。
(tfpose) C:\Code\tf-openpose>python run_webcam.py --model=mobilenet_thin --resize=432x368 --camera=0
Traceback(最近一次调用最后一次):文件"C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\pywrap_tensorflow_internal.py", line 18, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\pywrap_tensorflow_internal.py",
第 17 行,在 swig_import_helper
return importlib.import_module(mname)
File "C:\ProgramData\Anaconda3\envs\tfpose\lib\importlib\__init__.py",
第 12 行 6,在import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError:
DLL 中加载失败:找不到指定的过程。
在处理上述异常的过程中,又出现了一个异常:
Traceback(最近一次调用最后一次):文件"run.py"
,第 6 行,从 tf_pose import common File "C:\Code\tf-openpose\tf_pose\__init__.py"
,第 5 行,从 tf_pose.runner 导入推断,Estimator,get_estimator File "C:\Code\tf-openpose\tf_pose\runner.py"
,第 7 行,从 tf_pose import common File "C:\Code\tf-openpose\tf_pose\common.py"
,第 3 行,在import tensorflow as tf File "C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\__init
__.py"
,第 22 行,in from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File"C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\pywrap_tensorflow.py",
第 74 行,in raise ImportError(msg) ImportError: Traceback (most recent call last): File "C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\pywrap_tensorflow.py"
,第 58 行,in fromtensorflow.python.pywrap_tensorflow_internal import *
File "C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\pywrap_tensorflow_internal.py",
第 18<module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\ProgramData\Anaconda3\envs\tfpose\lib\site-packages\tensorflow\python
\pywrap_tensorflow_internal.py",
行,第 17 行,in swig_import_helper return importlib。 import_module(mname) 文件"C:\ProgramData\Anaconda3\envs\tfpose\lib\importlib\__init__.py",
第 12 行 6、在import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: DLL load failed: The specified procedure could not be found。
无法加载原生 TensorFlow 运行时。
请参阅https://www.tensorflow.org/install/install_sources#common_installation_probl ems
出于一些常见的原因和解决方案。寻求帮助时,请在此错误消息上方包含整个堆栈跟踪。
解决方案
推荐阅读
- google-cloud-sql - Google CloudSQL - 每个数据库的实例还是所有数据库的单个实例?
- java - 单例返回空对象
- swift - 上传带有一些其他参数的图像
- python - 使用python在数据框中进行条件格式化
- javascript - 滚动窗口时如何转到带有动画的另一个页面?
- android - 如果它有一个 android 原生小部件,苹果会拒绝我的应用程序吗?
- jenkins - 我们可以通过 Jenkins Checkpoint 中的 Stash 传递变量吗
- python - 遍历列表并将每个元素相乘
- python - 更改目录时如何解决“conda env 切换”问题?
- intellij-idea - 如何在 intelj 项目的所有文件中搜索带有模式的字符串?