Difference between predictor ran on local and the one ran on hugging face #1629
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
Hi @ep0p thanks for the report :) The huggingface demo uses pytorch as backend - could you give it a try with pytorch ? |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying the same thing on huggingface and Colab and it seems huggingface detect all text while Colab does not capture all text. predictor = ocr_predictor(det_arch="db_resnet50", # Text detection model Is this still an issue ? |
Beta Was this translation helpful? Give feedback.
-
Thanks. I can confirm the results are the same as in Colab. |
Beta Was this translation helpful? Give feedback.
Hi @ep0p thanks for the report :)
Unfortunately the demo isn't up to date with the latest doctr version, but we have already a ticket to fix this
The huggingface demo uses pytorch as backend - could you give it a try with pytorch ?
CC @odulcy-mindee (#1090)