Open Zalways opened 12 months ago
Unfortunately, no. The image dimensions are fixed in the exported ONNX model. Can you link to the tutorial that mentions dynamic resolution?
in the detectron2 tutorials, it said that export model into torchscript by traceing can infer on dynamic resolution images:
but when i export the model, the torchscript model only can inferrence on the images that have same height and width with the dummy image i used for exporting the model. i'd like to know whether your exported model can inference on dynamic resolution images.
Hi, have you fix it? : )
Unfortunately, no. The image dimensions are fixed in the exported ONNX model. Can you link to the tutorial that mentions dynamic resolution?
The image dimensions are fixed in the exported ONNX model, however , the image dimensions are unfixed on test and inference with pth file , which may cause the different results between them. Can you provice the dynamic resolution code for me? Thank you !
in the detectron2 tutorials, it said that export model into torchscript by traceing can infer on dynamic resolution images:
but when i export the model, the torchscript model only can inferrence on the images that have same height and width with the dummy image i used for exporting the model. i'd like to know whether your exported model can inference on dynamic resolution images.