Closed da13132 closed 1 year ago
The preliminary judgment is that the mmdeploy/mmdeploy/backend/ncnn/onnx2ncnn.py
return result of ret_code = call([onnx2ncnn_path, onnx_path, save_param, save_bin])
is empty
suggest that the whole path of mmdeploy does not have Chinese characters.
/home/keli/下载/mmdeploy
mmdeploy 你应该不是自己编译的吧?
转ncnn依赖mmdeploy_onnx2ncnn这个bin文件,需要编译mmdeploy的时候打开ncnn的后端。
可以使用这个平台在线转:https://platform.openmmlab.com/deploee
mmdeploy 你应该不是自己编译的吧?
转ncnn依赖mmdeploy_onnx2ncnn这个bin文件,需要编译mmdeploy的时候打开ncnn的后端。
可以使用这个平台在线转:https://platform.openmmlab.com/deploee
Thanks for your help, after I compiled the ncnn custom operator, the conversion was successful
suggest that the whole path of mmdeploy does not have Chinese characters.
/home/keli/下载/mmdeploy
Thank you, i will keep an eye out.
This issue is marked as stale because it has been marked as invalid or awaiting response for 7 days without any further response. It will be closed in 5 days if the stale label is not removed or if there is no further response.
This issue is closed because it has been stale for 5 days. Please open a new issue if you have similar issues or you have any new updates now.
mmdeploy 你应该不是自己编译的吧? 转ncnn依赖mmdeploy_onnx2ncnn这个bin文件,需要编译mmdeploy的时候打开ncnn的后端。 可以使用这个平台在线转:https://platform.openmmlab.com/deploee
Thanks for your help, after I compiled the ncnn custom operator, the conversion was successful
So how did you compile the ncnn custom operator? Did you compile the ncnn custom operator because you use your own model? I wanna convert the official original rtmpose model, and meet same error.
and all my path is in English, also have runpython3 tools/scripts/build_ubuntu_x64_ncnn.py $(nproc)
Checklist
Describe the bug
When I try to convert rtmpose from onnx format to ncnn, an error is reported. Suggested useless limit, in fact I can run other translations, only available onnx2ncnn Hope to get your help!
Reproduction
python tools/deploy.py /home/keli/下载/mmdeploy/configs/mmpose/pose-detection_simcc_ncnn_static-256x192.py /home/keli/下载/pose/configs/body_2d_keypoint/rtmpose/coco/rtmpose-s_8xb256-420e_coco-256x192.py /home/keli/下载/pose/pthfile/rtmpose/rtmpose-s_simcc-coco_pt-aic-coco_420e-256x192-8edcf0d7_20230127.pth demo/resources/human-pose.jpg --work-dir rtmpose_small_ncnn --device cpu --show --dump-info
Environment
Error traceback