Skip to content
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

[detection] move padding removal directly to detection #1627

Merged
merged 5 commits into from
Jun 5, 2024

mypy 2

c1d6a36
Select commit
Loading
Failed to load commit list.
Merged

[detection] move padding removal directly to detection #1627

mypy 2
c1d6a36
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jun 4, 2024 in 0s

1 new issue (0 max.) of at least minor severity.

Codacy 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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

doctr/models/detection/_utils/__init__.py#L2

'.base.*' imported but unused (F401)