[detection] move padding removal directly to detection #1627
Codacy Production / Codacy Static Code Analysis
required action
Jun 4, 2024 in 0s
1 new issue (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 1
Complexity increasing per file
==============================
- tests/common/test_models_detection_utils.py 14
- doctr/models/detection/_utils/base.py 12
Complexity decreasing per file
==============================
+ doctr/models/kie_predictor/tensorflow.py -1
+ doctr/models/kie_predictor/pytorch.py -1
+ doctr/models/predictor/base.py -3
Clones added
============
- tests/common/test_models_detection_utils.py 2
- doctr/models/detection/predictor/pytorch.py 1
- doctr/models/detection/predictor/tensorflow.py 1
See the complete overview on Codacy
Annotations
Check notice on line 2 in doctr/models/detection/_utils/__init__.py
codacy-production / Codacy Static Code Analysis
doctr/models/detection/_utils/__init__.py#L2
'.base.*' imported but unused (F401)
Loading