You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched related issues but cannot get the expected help.
2. I have read the FAQ documentation but cannot get the expected help.
3. The bug has not been fixed in the latest version.
Describe the bug
Instead of using the regular classification header on mmpretrain, I customized a NormClsHead. When I finished training, I exported and modified the corresponding logic in mmdeploy, and it was successfully exported.
But when I used pip install mmdeploy-runtime's stand-alone environment, it reported an error:
[mmdeploy] [error] [common.h:50] Could not found entry 'NormClsHead' in mmcls. Available components: [("ConformerHead", 0), ("LinearClsHead", 0), ("MultiLabelLinearClsHead", 0)]
[mmdeploy] [error] [task.cpp:99] error parsing config: ...
This error is understandable because the independent environment mmdeploy-runtime doesn't know any information about NormClsHead, so I wonder how to run it in an independent environment? Add some kind of *.so file to mmdeploy-runtime? Or recompile it to get the corresponding package?
Reproduction
I modified mmdeploy to correspond to the structure of my mmpretrain. Yes, I understand his reason. But I don't know how mmdeploy-runtime corresponds
Environment
08/20 09:44:42 - mmengine - INFO - TorchVision: 0.12.0
08/20 09:44:42 - mmengine - INFO - OpenCV: 4.9.0
08/20 09:44:42 - mmengine - INFO - MMEngine: 0.8.3
08/20 09:44:42 - mmengine - INFO - MMCV: 2.0.1
08/20 09:44:42 - mmengine - INFO - MMCV Compiler: GCC 9.3
08/20 09:44:42 - mmengine - INFO - MMCV CUDA Compiler: 11.3
08/20 09:44:42 - mmengine - INFO - MMDeploy: 1.3.1+
08/20 09:44:42 - mmengine - INFO -
08/20 09:44:42 - mmengine - INFO - **********Backend information**********
08/20 09:44:44 - mmengine - INFO - tensorrt: 8.4.3.1
08/20 09:44:44 - mmengine - INFO - tensorrt custom ops: Available
08/20 09:44:44 - mmengine - INFO - ONNXRuntime: None
08/20 09:44:44 - mmengine - INFO - ONNXRuntime-gpu: 1.10.0
08/20 09:44:44 - mmengine - INFO - ONNXRuntime custom ops: Available
08/20 09:44:44 - mmengine - INFO - pplnn: None
08/20 09:44:44 - mmengine - INFO - ncnn: None
08/20 09:44:44 - mmengine - INFO - snpe: None
08/20 09:44:44 - mmengine - INFO - openvino: None
08/20 09:44:44 - mmengine - INFO - torchscript: 1.11.0
08/20 09:44:44 - mmengine - INFO - torchscript custom ops: NotAvailable
08/20 09:44:44 - mmengine - INFO - rknn-toolkit: None
08/20 09:44:44 - mmengine - INFO - rknn-toolkit2: None
08/20 09:44:44 - mmengine - INFO - ascend: None
08/20 09:44:44 - mmengine - INFO - coreml: None
08/20 09:44:44 - mmengine - INFO - tvm: None
08/20 09:44:44 - mmengine - INFO - vacc: None
08/20 09:44:44 - mmengine - INFO -
08/20 09:44:44 - mmengine - INFO - **********Codebase information**********
08/20 09:44:44 - mmengine - INFO - mmdet: 3.1.0
08/20 09:44:44 - mmengine - INFO - mmseg: None
08/20 09:44:44 - mmengine - INFO - mmpretrain: 1.0.1
08/20 09:44:44 - mmengine - INFO - mmocr: None
08/20 09:44:44 - mmengine - INFO - mmagic: None
08/20 09:44:44 - mmengine - INFO - mmdet3d: None
08/20 09:44:44 - mmengine - INFO - mmpose: None
08/20 09:44:44 - mmengine - INFO - mmrotate: None
08/20 09:44:44 - mmengine - INFO - mmaction: None
08/20 09:44:44 - mmengine - INFO - mmrazor: None
08/20 09:44:44 - mmengine - INFO - mmyolo: None
Error traceback
No response
The text was updated successfully, but these errors were encountered:
Checklist
Describe the bug
Instead of using the regular classification header on mmpretrain, I customized a NormClsHead. When I finished training, I exported and modified the corresponding logic in mmdeploy, and it was successfully exported.
But when I used pip install mmdeploy-runtime's stand-alone environment, it reported an error:
This error is understandable because the independent environment mmdeploy-runtime doesn't know any information about NormClsHead, so I wonder how to run it in an independent environment? Add some kind of *.so file to mmdeploy-runtime? Or recompile it to get the corresponding package?
Reproduction
I modified mmdeploy to correspond to the structure of my mmpretrain. Yes, I understand his reason. But I don't know how mmdeploy-runtime corresponds
Environment
Error traceback
No response
The text was updated successfully, but these errors were encountered: