Skip to content
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

Fine-tuned CRAFT model works much slower on CPU than default one. #1324

Open
romanvelichkin opened this issue Oct 18, 2024 · 1 comment
Open

Comments

@romanvelichkin
Copy link

I fine-tuned CRAFT model according to this guide: https://github.com/JaidedAI/EasyOCR/tree/master/trainer/craft

But this model works 5 times slower than default model 'craft_mlt_25k' on some server CPUs (on some CPUs speeds are same). What can it be? Is 'craft_mlt_25k' quantized in some way?

@romanvelichkin
Copy link
Author

I solved this speed problem by quantizing my CRAFT model into float16.

However 'craft_mlt_25k' is in float32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant