Toybrick

标题: 环境问题 [打印本页]

作者: nickyrat    时间: 2020-5-4 14:15
标题: 环境问题
按照教程配置环境,运行run_yolov3.bat 后出现下面一大堆问题,啥意思?

2020-05-04 14:09:27.067895: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_101.dll'; dlerror: cudart64_101.dll not found
2020-05-04 14:09:27.074439: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
  File "rknn_camera_tiny_multiProcess.py", line 8, in <module>
    from rknn.api import RKNN
  File "C:\Users\yi\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\__init__.py", line 1, in <module>
    from rknn import api
  File "C:\Users\yi\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\yi\AppData\Local\Programs\Python\Python36\lib\site-packages\rknn\api\rknn.py", line 15, in <module>
    from .rknn_base import RKNNBase
  File "rknn\api\rknn_base.py", line 23, in init rknn.api.rknn_base
  File "rknn\base\acuitylib\converter\convert_tf.py", line 11, in init rknn.base.acuitylib.converter.convert_tf
  File "rknn\base\acuitylib\converter\tensorflowloader.py", line 22, in init rknn.base.acuitylib.converter.tensorflowloader
  File "rknn\base\acuitylib\converter\tensor_model.py", line 4, in init rknn.base.acuitylib.converter.tensor_model
  File "rknn\base\acuitylib\converter\onnx_util.py", line 7, in init rknn.base.acuitylib.converter.onnx_util
  File "C:\Users\yi\AppData\Local\Programs\Python\Python36\lib\site-packages\onnx_tf\__init__.py", line 1, in <module>
    from . import frontend
  File "C:\Users\yi\AppData\Local\Programs\Python\Python36\lib\site-packages\onnx_tf\frontend.py", line 18, in <module>
    from onnx_tf.common.handler_helper import get_all_frontend_handlers
  File "C:\Users\yi\AppData\Local\Programs\Python\Python36\lib\site-packages\onnx_tf\common\handler_helper.py", line 5, in <module>
    from onnx_tf.handlers.backend import *  # noqa
  File "C:\Users\yi\AppData\Local\Programs\Python\Python36\lib\site-packages\onnx_tf\handlers\backend\ceil.py", line 10, in <module>
    @tf_func(tf.ceil)
AttributeError: module 'tensorflow' has no attribute 'ceil'


作者: jefferyzhang    时间: 2020-5-4 15:27
你tensorflow版本太高了吧。rknn 1.3.x 目前最高支持到tensorflow 1.13.x
作者: nickyrat    时间: 2020-5-4 16:33
jefferyzhang 发表于 2020-5-4 15:27
你tensorflow版本太高了吧。rknn 1.3.x 目前最高支持到tensorflow 1.13.x

rknn  1.2.1 对应的python版本和tensorflow版本是多少?我都安装几遍了
作者: jefferyzhang    时间: 2020-5-4 16:42
nickyrat 发表于 2020-5-4 16:33
rknn  1.2.1 对应的python版本和tensorflow版本是多少?我都安装几遍了

python看你用的rknn whl什么版本就是什么版本
tensorflow目前最高都只到1.13.x
这些文档里都有描述的。
作者: nickyrat    时间: 2020-5-4 17:23
心态崩了,就自动安装了2.1版本的tensorflow,然后卸载它重装,把tensorflow1.5-1.14,差不多试了个遍,还是报错。

ImportError: DLL load 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.





欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3