add arabic vocabs and some modification for the detection model so the errors are more clear #1957
4 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 4
Complexity increasing per file
==============================
- references/detection/train_pytorch.py 1
Clones removed
==============
+ doctr/models/detection/differentiable_binarization/base.py -1
+ references/detection/train_pytorch.py -5
See the complete overview on Codacy
Annotations
Check notice on line 288 in doctr/models/detection/differentiable_binarization/base.py
codacy-production / Codacy Static Code Analysis
doctr/models/detection/differentiable_binarization/base.py#L288
Trailing whitespace
Check notice on line 276 in doctr/models/detection/differentiable_binarization/pytorch.py
codacy-production / Codacy Static Code Analysis
doctr/models/detection/differentiable_binarization/pytorch.py#L276
Trailing whitespace
Check warning on line 50 in references/detection/train_pytorch.py
codacy-production / Codacy Static Code Analysis
references/detection/train_pytorch.py#L50
Try, Except, Pass detected.
Check notice on line 52 in references/detection/train_pytorch.py
codacy-production / Codacy Static Code Analysis
references/detection/train_pytorch.py#L52
Trailing whitespace