-
Hi, I would like to try testing your sliced inference on large images that my model can't detect using Sahi. I use a finetuned local checkpoint of a HF facebook/detr-resnet-50 model.
which leads to this error:
The version of sahi I have locally installed is: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @dokooh for huggingface+sahi you need to provide local hf model folder to model_path instead of the bin file path. Check the notebook for more detail: https://nbviewer.org/github/obss/sahi/blob/main/demo/inference_for_huggingface.ipynb |
Beta Was this translation helpful? Give feedback.
Hey @dokooh for huggingface+sahi you need to provide local hf model folder to model_path instead of the bin file path.
Check the notebook for more detail: https://nbviewer.org/github/obss/sahi/blob/main/demo/inference_for_huggingface.ipynb