Skip to content

Conversation

@charlesmindee
Copy link
Collaborator

This is a fix for the PR #107: dense labels for teacher forcing were not padded to the length (max_lentgh + 1), and it was crashing the model. SAR is now operational for training. Any feedback is welcome !

@charlesmindee charlesmindee added type: bug Something isn't working module: models Related to doctr.models labels Mar 2, 2021
@charlesmindee charlesmindee added this to the 0.2.0 milestone Mar 2, 2021
@charlesmindee charlesmindee requested a review from fg-mindee March 2, 2021 14:44
@charlesmindee charlesmindee self-assigned this Mar 2, 2021
@codecov
Copy link

codecov bot commented Mar 2, 2021

Codecov Report

Merging #108 (ef8d937) into main (7996b4a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #108   +/-   ##
=======================================
  Coverage   97.78%   97.79%           
=======================================
  Files          28       28           
  Lines         904      908    +4     
=======================================
+ Hits          884      888    +4     
  Misses         20       20           
Flag Coverage Δ
unittests 97.79% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
doctr/models/recognition/sar.py 97.34% <100.00%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7996b4a...0e9629b. Read the comment docs.

Copy link
Contributor

@fg-mindee fg-mindee left a 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!

@charlesmindee charlesmindee merged commit 169fbac into main Mar 2, 2021
@charlesmindee charlesmindee deleted the pad_teacher_forcing branch March 2, 2021 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: models Related to doctr.models type: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants