标题: rknn-toolkit初始化环境失败 [打印本页] 作者: linpanda 时间: 2019-10-10 16:59 标题: rknn-toolkit初始化环境失败 在rk3399pro上运行程序时一直卡在init_runtime函数,手动停止程序后报错是这样的
E Catch exception when init runtime!
T Traceback (most recent call last):
T File "rknn/api/rknn_base.py", line 769, in rknn.api.rknn_base.RKNNBase.init_runtime
T File "rknn/api/rknn_runtime.py", line 142, in rknn.api.rknn_runtime.RKNNRuntime.__init__
T File "rknn/api/rknn_platform_utils.py", line 253, in rknn.api.rknn_platform_utils.start_ntp_or_adb
T File "rknn/api/rknn_platform_utils.py", line 168, in rknn.api.rknn_platform_utils.start_ntp
T File "rknn/api/rknn_platform_utils.py", line 158, in rknn.api.rknn_platform_utils.whether_device_using_adb_forward
T File "rknn/api/rknn_utils.py", line 94, in rknn.api.rknn_utils.exec_command
T File "/usr/lib/python3.5/subprocess.py", line 316, in check_output
T **kwargs).stdout
T File "/usr/lib/python3.5/subprocess.py", line 385, in run
T stdout, stderr = process.communicate(input, timeout=timeout)
T File "/usr/lib/python3.5/subprocess.py", line 788, in communicate
T stdout = self.stdout.read()
T KeyboardInterrupt