I made a yolo pytorch model made to identify enemies in Valorant on the screen. When I run inference (tests) on the model locally I get many satisfying results. However when I run the same model on Hugging Space on the same images it clearly performs worse in terms of percent certainty and just not identify elements it otherwise should.
The only difference I can think of that could be causing it is that:
- I changed the model from pytrorch to a torchscript (.pt to .torchscript). (would this change anything?)
- Are the images that Hugging Face uploads to the model at a significantly lower quality?