-
Notifications
You must be signed in to change notification settings - Fork 420
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
fix: Fixed SAR model for training and inference in PyTorch #831
Conversation
Codecov Report
@@ Coverage Diff @@
## main #831 +/- ##
==========================================
+ Coverage 95.97% 95.99% +0.02%
==========================================
Files 131 131
Lines 4988 5042 +54
==========================================
+ Hits 4787 4840 +53
- Misses 201 202 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@fg-mindee |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@felixdittrich92 I had the same issue until I changed the transformation pipeline during training. On my end, I used a real-world validation dataset, and it worked! If it doesn't on the full OCR pipeline, the problem comes from something else then :) |
Following up on #802, this PR introduces the following changes:
I tried training the model with the synthetic training set, and a real-world validation set and managed to reach almost 100% of exact match after a few epochs.
Any feedback is welcome!