-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
a small bug with trocr example and large model #1645
Comments
Thanks for head up, already made a PR with printed supported. Workingcargo run --example trocr --release -- --which base-hand-written --cpu --image candle-examples/examples/trocr/assets/trocr.png
cargo run --example trocr --release -- --which large-hand-written --cpu --image candle-examples/examples/trocr/assets/trocr.png
cargo run --example trocr --release -- --which base-printed --cpu --image candle-examples/examples/trocr/assets/printed-number.jpg Remain bugcargo run --example trocr --release -- --which large-printed --cpu --image candle-examples/examples/trocr/assets/printed-number.jpg got
Any idea on this one? |
I've just merged #1689 which instead of using an hardcoded config gets it from the HF hub. This should make it easier to add more supported models in the future if compatible architectures appear. |
Closing this now as hopefully it's all good, feel free to re-open if you run into further issues. |
Hi,
the trouble came from :
Which::Large is build with the same config as Which::Base
The text was updated successfully, but these errors were encountered: