|
Windows 环境已经搭建OK,使用RKNN 1.1.0版本Python已安装
双击运行Run_yolov3无法显示demo画面,具体报错信息如下:
C:\Users\GN5\Desktop\win_rknn_env\win_rknn_env\yolov3>python rknn_camera_tiny_multiProcess.py
Traceback (most recent call last):
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "rknn_camera_tiny_multiProcess.py", line 8, in <module>
from rknn.api import RKNN
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\__init__.py", line 1, in <module>
from rknn import api
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\api\__init__.py", line 1, in <module>
from rknn.api.rknn import RKNN
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\api\rknn.py", line 16, in <module>
from .rknn_base import RKNNBase
File "rknn\api\rknn_base.py", line 13, in init rknn.api.rknn_base
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\base\acuitylib\__init__.py", line 1, in <module>
from acuitylib.optimize.optimizer import Optimizer
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\base\acuitylib\__init__.py", line 1, in <module>
from acuitylib.optimize.optimizer import Optimizer
File "rknn\base\acuitylib\optimize\optimizer.py", line 13, in init rknn.base.acuitylib.optimize.optimizer
File "rknn\base\acuitylib\optimize\rules\merge_layer.py", line 3, in init rknn.base.acuitylib.optimize.rules.merge_layer
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\base\acuitylib\layer\__init__.py", line 2, in <module>
from acuitylib.layer.add import *
File "rknn\base\acuitylib\layer\add.py", line 1, in init rknn.base.acuitylib.layer.add
File "rknn\base\acuitylib\layer\acuitylayer.py", line 3, in init rknn.base.acuitylib.layer.acuitylayer
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 28, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\imp.py", line 243, in load_module
return load_dynamic(name, filename, file)
File "C:\Users\GN5\AppData\Local\Programs\Python\Python36\lib\imp.py", line 343, in load_dynamic
return _load(spec)
ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed.
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.
|
|