转换的过程碰见这个无法加载模型请问该怎么办?
[gwill@localhost OpenPose-Multi-Person]$ ./getModels.sh
--2019-10-27 15:43:12-- http://posefs1.perception.cs.cmu ... r_440000.caffemodel
正在解析主机 posefs1.perception.cs.cmu.edu (posefs1.perception.cs.cmu.edu)... 128.2.176.37
正在连接 posefs1.perception.cs.cmu.edu (posefs1.perception.cs.cmu.edu)|128.2.176.37|:80... 失败:Connection refused。
[gwill@localhost OpenPose-Multi-Person]$ python3 rknn_transfer.py
/usr/lib64/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
--> config model
done
--> Loading model
E Blobs file ./pose/coco/pose_iter_440000.caffemodel not exists!
Load model failed!
今天将环境和包都重新装了一遍,opencv是3.4.1,python是3.6.8,有usb摄像头,rknn_toolkit也更新到了1.2.0,运行后显示using device with adb mode to init runtime ,but npu_transfer_proxy is running ,it may cause exception,please terminate npu_transefer_proxy first。
我把npu_transfer_proxy kill之后还是不行,显示:
E connect to device failure(-1)
E catch exception when init runtime!
T file“rknn/api/rknn_bash.py”,line 769,in rknn/api/rknn_bash.RKNNBase.init_runtime
T ................
T ...................
T Exceptiomn Init runtime envireoment failed
您好,我是在rk3399pro这块板子上fedora跑的,我用我实验室另一块3399pro 更新了所有东西还是这样,用rknn_toolkit 0.9.9跑的时候就是一直卡在rknn.inference这里,更新到1.2.0后就显示:E RKNNAPI:rknn_init,recv(MsgLoadAck)fail,-9(error_pipe)!=368!
E catch exception when init runtime!
T file“rknn/api/rknn_bash.py”,line 769,in rknn/api/rknn_bash.RKNNBase.init_runtime
T ................
T ...................
T Exceptiomn Init runtime envireoment failed,
能麻烦您帮忙看一下这到底是什么原因吗?有没有可能是因为我在转换模型的时候出了问题,能否麻烦您把转换成功的模型发一个给我呢?我的邮箱是gwill_huang@163.com!十分感谢您!!
转换模型时遇到加载模型失败怎么办?
[toybrick@toybrick rknn_openpose]$ python3 rknn_transfer.py
/usr/lib64/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
/home/toybrick/.local/lib/python3.6/site-packages/onnx_tf/common/__init__.py:87: UserWarning: FrontendHandler.get_outputs_names is deprecated. It will be removed in future release.. Use node.outputs instead.
warnings.warn(message)
--> config model
done
--> Loading model
E Blobs file ./pose/coco/pose_iter_440000.caffemodel not exists!
Load model failed!