Closed xddun closed 1 year ago
mmcls model to onnx model is available to me
Try detection_onnxruntime_static.py
@hanrui1sensetime static shape yolox failed.
thank you for your attention, i attempt to test the model in the mobile terminal, I want also to use the RTMDet (your mmyolo project launched) model , but it is failed too, look forward to see the tutorial update.
Hi, any update on this? I also get an error with dimension mismatch when exporting yolox.
@xddun @sebos123 Try dynamic config. We are working on fixing the static one.
Hi, all:
You should ensure your image has a shape in multiples of 32 if you deploy YOLOX
and RTMDet
model with static deploy config. YOLOX
and RTMDet
requires the image shape in multiples of 32. Other model requires the shape in multiples of a constant will face the same problems.
So we recommend you use dynamic config.
@hanrui1sensetime Why should we limit the image shape when using static shape? Preprocess should do the resize for us.
It is solved after #1436 and #1439. Please update mmdeploy and have a try.
Checklist
Describe the bug
i want to convert YOLOX tiny model to onnx, there are no changes to the program, BUT the transformation of the model cannot be completed.
looking forward to your reply.
Reproduction
run:
Environment