-
Notifications
You must be signed in to change notification settings - Fork 443
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] TensorFlow SAR_Resnet31 implementation #925
Conversation
0517ff1
to
b2510eb
Compare
@frgfm |
Codecov Report
@@ Coverage Diff @@
## main #925 +/- ##
==========================================
+ Coverage 94.68% 94.72% +0.04%
==========================================
Files 134 134
Lines 5491 5501 +10
==========================================
+ Hits 5199 5211 +12
+ Misses 292 290 -2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Could you check the test perf against FUNSD or CORD ? :) |
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 for the PR Felix 🙏
I added a few comments!
@frgfm i think this would not be comparable without a full dataset (like mindee intern) :/ I test the implementations currently on a difficult toy dataset 10k train and 2.5k val (contains extrem blurred, rotated images, ~ 30 different fonts and some corrupted characters). Maybe if i found a bit more time i could train it on MJSynth |
@frgfm ok now with kwargs and check 👍 😅 |
2516fd7
to
0c8dd60
Compare
FYI: this PR introduces the deprecation of resnet31 as pretrained model for TF |
@frgfm trained 1 Epoch on MJSynth Subset : 500k train / 200k val FUNSD: I would say for a toy run this looks really not bad and we can close the SAR issue with this PR wdyt ? :) |
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 Felix, I added some comments!
I agree, that's quite good 👍 |
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.
Just a few typos left!
@frgfm |
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 Felix 🙏
This PR: (Still in progress :))
fix SARDecoder forward step
check train
check inference
cleanup / improve code
Any feedback is welcome 🤗
Issue:
#802