mmdeploy
mmdeploy copied to clipboard
Error about test.py
How can I reshape the test images?
Hi, @Audrey528. There are two methods.
- The test pipeline of model_cfg can be modified to your preference.
- You can also modify the function
create_input
ofmmdeploy/codebase/mmdet/deploy/object_detection.py
to change the shape.
@AllentDan Thanks for your reply. as shown below, the test pipeline of model_cfg is set. And I change (1333, 800) to (1344,800), but the error is the same as before.
And I don't know how to modify the functioin
create_input
, can you speak clearly. Thank you very much.
Set keep_ratio=False
please
I set keep_ratio=False
in model_cfg, but the error still exists
Hi, could you try debugging create_input
function of mmdeploy/codebase/mmdet/deploy/object_detection.py
and check what step is not expected?
Closing it for no activity for a long time, feel free to reopen it if it is still an issue for you.