Closed RachelLYY closed 1 year ago
@RachelLYY hi, have you changed any thing in deploy config and model config? for rtmpose, you should use configs/mmpose/pose-detection_simcc_ncnn_static-256x192.py
@RachelLYY hi, have you changed any thing in deploy config and model config? for rtmpose, you should use
configs/mmpose/pose-detection_simcc_ncnn_static-256x192.py
Hi, I didn't change anything in the config file. I just tried run deploy.py
using configs/mmpose/pose-detection_simcc_ncnn_static-256x192.py
, but still got the same error as I posted above. But I change site-packages/mmdeploy/backend/ncnn/onnx2ncnn.py
line 71 to specify onnx2ncnn_path
, cause the original code get_onnx2ncnn_path()
returns ''.
I set onnx2ncnn_path
to mmdeploy_onnx2ncnn
which is the output of make
in ncnn Custom Ops in this tutorial.
Something wrong with your env. You could use docker image
docker pull openmmlab/mmdeploy:ubuntu20.04-cuda11.3-mmdeploy1.0.0
docker run -it --rm --gpus=all openmmlab/mmdeploy:ubuntu20.04-cuda11.3-mmdeploy1.0.0
Hi, I accessed this Docker container by executing the command docker run -it openmmlab/mmdeploy:ubuntu20.04-cuda11.3-mmdeploy1.0.0
. However, when attempting to run python3 tools/deploy.py
using the CPU device, I encountered the following error: ImportError: cannot import name 'cfg_apply_marks' from 'mmdeploy.utils'
. Additionally, what's wrong with my original env, is it because that ncnn custom ops not available
?
ncnn custom ops not available
?
Hi,
python3 -m mim install 'mmpose>=1.0.0'
Hi, I can run deploy.py
using docker env now. Thanks a lot!
Checklist
Describe the bug
.pth
model into ncnn model to deploy it on Android devices.Reproduction
Environment
Error traceback
No response