mmdeploy
mmdeploy copied to clipboard
onnxruntime deploy onnx
[2022-08-07 21:17:44.507] [mmdeploy] [info] [model.cpp:95] Register 'DirectoryModel' [2022-08-07 21:17:53.342] [mmdeploy] [error] [model.cpp:44] no ModelImpl can read model F:\DeepLearn\openmmlab\seg_test\panel_512x1024.onnx [2022-08-07 21:17:53.342] [mmdeploy] [error] [model.cpp:15] load model failed. Its file path is 'F:\DeepLearn\openmmlab\seg_test\panel_512x1024.onnx' [2022-08-07 21:17:53.355] [mmdeploy] [error] [model.cpp:20] failed to create model: not supported (2) failed to create segmentor, code: 6
@liufqing Hi, please follow the template to offer us the full script and env info to reproduce.
env:
Name Version Build Channel
addict 2.4.0 pypi_0 pypi
anyio 3.6.1 pypi_0 pypi
argon2-cffi 21.3.0 pypi_0 pypi
argon2-cffi-bindings 21.2.0 pypi_0 pypi
asynctest 0.13.0 py_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
atomicwrites 1.4.1 pypi_0 pypi
attrs 21.4.0 pyhd3eb1b0_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
babel 2.10.3 pypi_0 pypi
backcall 0.2.0 pypi_0 pypi
beautifulsoup4 4.11.1 pypi_0 pypi
black 22.6.0 pypi_0 pypi
blas 1.0 mkl http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
bleach 5.0.1 pypi_0 pypi
brotlipy 0.7.0 py37h2bbff1b_1003 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ca-certificates 2022.07.19 haa95532_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
certifi 2022.6.15 py37haa95532_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cffi 1.15.1 pypi_0 pypi
charset-normalizer 2.0.4 pyhd3eb1b0_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
click 8.1.3 pypi_0 pypi
codecov 2.1.11 pyhd3eb1b0_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
colorama 0.4.5 py37haa95532_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
commonmark 0.9.1 pypi_0 pypi
coverage 6.3.2 py37h2bbff1b_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cryptography 37.0.1 py37h21b164f_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cudatoolkit 10.2.89 h74a9793_1 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cudnn 7.6.5 cuda10.2_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
cycler 0.11.0 pypi_0 pypi
debugpy 1.6.2 pypi_0 pypi
decorator 5.1.1 pypi_0 pypi
deprecation 2.1.0 pypi_0 pypi
descartes 1.1.0 pypi_0 pypi
dill 0.3.5.1 pypi_0 pypi
entrypoints 0.4 pypi_0 pypi
fastjsonschema 2.16.1 pypi_0 pypi
fire 0.4.0 pypi_0 pypi
flake8 4.0.1 pypi_0 pypi
fonttools 4.33.3 pypi_0 pypi
freetype 2.10.4 hd328e21_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
h5py 3.7.0 pypi_0 pypi
idna 3.3 pyhd3eb1b0_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
importlib-metadata 4.12.0 pypi_0 pypi
importlib-resources 5.9.0 pypi_0 pypi
importlib_metadata 4.11.3 hd3eb1b0_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
iniconfig 1.1.1 pyhd3eb1b0_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
intel-openmp 2021.4.0 haa95532_3556 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
ipykernel 6.15.1 pypi_0 pypi
ipython 7.34.0 pypi_0 pypi
ipython-genutils 0.2.0 pypi_0 pypi
ipywidgets 7.7.1 pypi_0 pypi
isort 5.9.3 pyhd3eb1b0_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
jedi 0.18.1 pypi_0 pypi
jinja2 3.1.2 pypi_0 pypi
joblib 1.1.0 pypi_0 pypi
jpeg 8d 0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
json5 0.9.8 pypi_0 pypi
jsonschema 4.7.2 pypi_0 pypi
jupyter 1.0.0 pypi_0 pypi
jupyter-client 7.3.4 pypi_0 pypi
jupyter-console 6.4.4 pypi_0 pypi
jupyter-core 4.11.1 pypi_0 pypi
jupyter-packaging 0.12.2 pypi_0 pypi
jupyter-server 1.18.1 pypi_0 pypi
jupyterlab 3.4.4 pypi_0 pypi
jupyterlab-pygments 0.2.2 pypi_0 pypi
jupyterlab-server 2.15.0 pypi_0 pypi
jupyterlab-widgets 1.1.1 pypi_0 pypi
kiwisolver 1.4.3 pypi_0 pypi
libpng 1.6.37 h2a8f88b_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libtiff 4.2.0 he0120a3_1 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libuv 1.40.0 he774522_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
libwebp 1.2.2 h2bbff1b_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
llvmlite 0.36.0 pypi_0 pypi
lyft-dataset-sdk 0.0.8 pypi_0 pypi
lz4-c 1.9.3 h2bbff1b_1 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
markdown 3.3.4 pypi_0 pypi
markupsafe 2.1.1 pypi_0 pypi
matplotlib 3.5.2 pypi_0 pypi
matplotlib-inline 0.1.3 pypi_0 pypi
mccabe 0.6.1 pypi_0 pypi
mistune 0.8.4 pypi_0 pypi
mkl 2021.4.0 haa95532_640 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl-service 2.4.0 py37h2bbff1b_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_fft 1.3.1 py37h277e83a_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mkl_random 1.2.2 py37hf11a4ad_0 http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
mmcls 0.23.1 pypi_0 pypi
mmcv-full 1.5.3 pypi_0 pypi
mmdeploy 0.6.0 dev_0
I train a model using a netural network from stdc and then convert to a model in onnx format using tools.Calling under python can be used normally,but using onnxruntime to call an error.
@liufqing pls. post full script of image_segmentation
. here. BTW, only onnxruntime of cpu is supported in mmdeploy-sdk. Pls. make sure you are passing cpu to device
argument.
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.