Closed lwenaeven closed 5 months ago
You've chosen to report an unexpected problem or bug. Unless you already know the root cause of it, please include details about it by filling the issue template. The following information is missing: "Instructions To Reproduce the Issue and Full Logs"; "Your Environment";
Hi, The most probable cause of this is the conversion and inference processes, and ensuring that the input pre-processing and output post-processing match the original model's expectations... This is something you could look into :)
Hope this helps
Best regards, Ranuga Disansa
I have a custom trained detectron2 model for instance segmentation that I load and use for inference as below:
I have followed this tutorial from OpenVino in order to convert it to an OV model:
However, I don't obtain the expected result from the complied ov model, ie. I normally should obtain one instance in the outputs and this is the case when using the classic detectron2 model, but when using the complied ov model, I don't get any instance detected.
Here is the information about the OV model:
UPDATE: As I really need to convert it to another framework in order to use model serving tools, I also tried to convert it to Torchscript. However, here again I have an empty output.
This time I followed the tutorial in this issue:
The conversion is then done after a LOT of warnings, and here is a snippet of the resulting model:
I then proceed the inference:
And the resulting outputs are empty:
I also have tried to export the model directly using the detectron2 functions documented here, but again I have the same issue in the resulting model's inference.
I'll take any idea!