cannot import name 'create_calib_input_data' from 'mmdeploy.apis' #241
-
root@51d7194b8065:/openmmlab# ls
mmdeploy mmyolo onnxruntime-linux-x64-1.8.1 onnxruntime-linux-x64-1.8.1.tgz
root@51d7194b8065:/openmmlab# cd mmyolo/
root@51d7194b8065:/openmmlab/mmyolo# vim /openmmlab/mmyolo/script.sh
root@51d7194b8065:/openmmlab/mmyolo# sh script.sh
Traceback (most recent call last):
File "/openmmlab/mmdeploy/tools/deploy.py", line 12, in <module>
from mmdeploy.apis import (create_calib_input_data, extract_model,
ImportError: cannot import name 'create_calib_input_data' from 'mmdeploy.apis' (/openmmlab/mmdeploy/mmdeploy/apis/__init__.py)
Traceback (most recent call last):
File "/openmmlab/mmdeploy/tools/test.py", line 8, in <module>
from mmdeploy.apis import build_task_processor
ImportError: cannot import name 'build_task_processor' from 'mmdeploy.apis' (/openmmlab/mmdeploy/mmdeploy/apis/__init__.py)
Traceback (most recent call last):
File "/openmmlab/mmdeploy/tools/deploy.py", line 12, in <module>
from mmdeploy.apis import (create_calib_input_data, extract_model,
ImportError: cannot import name 'create_calib_input_data' from 'mmdeploy.apis' (/openmmlab/mmdeploy/mmdeploy/apis/__init__.py)
Traceback (most recent call last):
File "/openmmlab/mmdeploy/tools/test.py", line 8, in <module>
from mmdeploy.apis import build_task_processor
ImportError: cannot import name 'build_task_processor' from 'mmdeploy.apis' (/openmmlab/mmdeploy/mmdeploy/apis/__init__.py)
root@51d7194b8065:/openmmlab/mmyolo# |
Beta Was this translation helpful? Give feedback.
Answered by
hhaAndroid
Nov 28, 2022
Replies: 1 comment
Answer selected by
RangeKing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed