Toybrick

标题: caffe resnet50网络模型不能运行!!! [打印本页]

作者: chenshq168    时间: 2021-12-30 15:44
标题: caffe resnet50网络模型不能运行!!!
done
--> Export RKNN model
done
运行caffe的resnet50网络模型时,会出现下面错误,怎么修改?

--> Init runtime environment
E Catch exception when init runtime!
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 1128, in rknn.api.rknn_base.RKNNBase.init_runtime
E   File "rknn/api/rknn_runtime.py", line 168, in rknn.api.rknn_runtime.RKNNRuntime.__init__
E   File "rknn/api/rknn_platform_utils.py", line 279, in rknn.api.rknn_platform_utils.start_ntp_or_adb
E   File "rknn/api/rknn_platform_utils.py", line 134, in rknn.api.rknn_platform_utils.weather_device_use_ntb
E   File "rknn/api/rknn_utils.py", line 55, in rknn.api.rknn_utils.exec_command
E   File "/usr/lib/python3.7/subprocess.py", line 395, in check_output
E     **kwargs).stdout
E   File "/usr/lib/python3.7/subprocess.py", line 472, in run
E     with Popen(*popenargs, **kwargs) as process:
E   File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
E     restore_signals, start_new_session)
E   File "/usr/lib/python3.7/subprocess.py", line 1453, in _execute_child
E     restore_signals, start_new_session, preexec_fn)
E OSError: [Errno 12] Cannot allocate memory
Init runtime environment failed



作者: DDX    时间: 2022-1-7 11:08
把config的配置贴出来看一下,不然无法debug




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