Open Jermanis opened 4 years ago
Please take a look at FastAI and how to perform inference on a single image.
Please take a look at FastAI and how to perform inference on a single image.
I looked there. It did not work. Did you manage to make it work for inference yourself?
No I did not - still have errors. Important difference can be that the FastAI example includes Training and Validation data which I wouldn't want to load for an Inference use case. I plan to spend more time on this issue this week. I will share the solution if I get it working. Please do the same.
Work on it
Moin,
please take a look at this example:
https://colab.research.google.com/drive/16un8u65D4oTWiWzpdjMU_cpnVasaQ72n#scrollTo=TY_S_53Pikjt -> Inference example
Predictions are very different from show_results_side_by_side
You have to Normalize your input data.
Uncomment:
Works. But I retrained my model without normalization
I have a trained object detection model which I want to use for inference on 1 image at a time, using the following code:
However, I get the following error: