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

OCR recognition model #158

Merged
merged 34 commits into from
Jan 29, 2025

fix: smooth bce loss generics

32f4bfc
Select commit
Loading
Failed to load commit list.
Merged

OCR recognition model #158

fix: smooth bce loss generics
32f4bfc
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jan 29, 2025 in 1s

88.88% of diff hit (target 96.31%)

View this Pull Request on Codecov

88.88% of diff hit (target 96.31%)

Annotations

Check warning on line 39 in luxonis_train/config/predefined_models/ocr_recognition_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/config/predefined_models/ocr_recognition_model.py#L39

Added line #L39 was not covered by tests

Check warning on line 52 in luxonis_train/loaders/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/loaders/utils.py#L50-L52

Added lines #L50 - L52 were not covered by tests

Check warning on line 57 in luxonis_train/loaders/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/loaders/utils.py#L55-L57

Added lines #L55 - L57 were not covered by tests

Check warning on line 59 in luxonis_train/loaders/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/loaders/utils.py#L59

Added line #L59 was not covered by tests

Check warning on line 18 in luxonis_train/nodes/backbones/pplcnet_v3/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/backbones/pplcnet_v3/blocks.py#L18

Added line #L18 was not covered by tests

Check warning on line 29 in luxonis_train/nodes/backbones/pplcnet_v3/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/backbones/pplcnet_v3/blocks.py#L29

Added line #L29 was not covered by tests

Check warning on line 129 in luxonis_train/nodes/backbones/pplcnet_v3/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/backbones/pplcnet_v3/blocks.py#L129

Added line #L129 was not covered by tests

Check warning on line 156 in luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py#L155-L156

Added lines #L155 - L156 were not covered by tests

Check warning on line 163 in luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py#L163

Added line #L163 was not covered by tests

Check warning on line 199 in luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py#L199

Added line #L199 was not covered by tests

Check warning on line 240 in luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/backbones/pplcnet_v3/pplcnet_v3.py#L236-L240

Added lines #L236 - L240 were not covered by tests

Check warning on line 66 in luxonis_train/nodes/heads/ocr_ctc_head.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/heads/ocr_ctc_head.py#L66

Added line #L66 was not covered by tests

Check warning on line 71 in luxonis_train/nodes/heads/ocr_ctc_head.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/heads/ocr_ctc_head.py#L69-L71

Added lines #L69 - L71 were not covered by tests

Check warning on line 73 in luxonis_train/nodes/heads/ocr_ctc_head.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/heads/ocr_ctc_head.py#L73

Added line #L73 was not covered by tests

Check warning on line 78 in luxonis_train/nodes/heads/ocr_ctc_head.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/heads/ocr_ctc_head.py#L76-L78

Added lines #L76 - L78 were not covered by tests

Check warning on line 91 in luxonis_train/nodes/heads/ocr_ctc_head.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/heads/ocr_ctc_head.py#L89-L91

Added lines #L89 - L91 were not covered by tests

Check warning on line 94 in luxonis_train/nodes/heads/ocr_ctc_head.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/heads/ocr_ctc_head.py#L94

Added line #L94 was not covered by tests

Check warning on line 99 in luxonis_train/nodes/heads/ocr_ctc_head.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/heads/ocr_ctc_head.py#L99

Added line #L99 was not covered by tests

Check warning on line 13 in luxonis_train/nodes/necks/svtr_neck/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/necks/svtr_neck/blocks.py#L13

Added line #L13 was not covered by tests

Check warning on line 17 in luxonis_train/nodes/necks/svtr_neck/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/necks/svtr_neck/blocks.py#L15-L17

Added lines #L15 - L17 were not covered by tests

Check warning on line 57 in luxonis_train/nodes/necks/svtr_neck/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/necks/svtr_neck/blocks.py#L54-L57

Added lines #L54 - L57 were not covered by tests

Check warning on line 73 in luxonis_train/nodes/necks/svtr_neck/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/necks/svtr_neck/blocks.py#L68-L73

Added lines #L68 - L73 were not covered by tests

Check warning on line 103 in luxonis_train/nodes/necks/svtr_neck/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/necks/svtr_neck/blocks.py#L100-L103

Added lines #L100 - L103 were not covered by tests

Check warning on line 107 in luxonis_train/nodes/necks/svtr_neck/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/necks/svtr_neck/blocks.py#L105-L107

Added lines #L105 - L107 were not covered by tests

Check warning on line 114 in luxonis_train/nodes/necks/svtr_neck/blocks.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

luxonis_train/nodes/necks/svtr_neck/blocks.py#L111-L114

Added lines #L111 - L114 were not covered by tests