You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,36 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [1.1.0] - 2026-03-13
9
+
10
+
### Added
11
+
12
+
- New `cct-xs-v2-global-model` and `cct-s-v2-global-model` with plate region recognition support for 65+ countries.
13
+
- Optional region-aware training, validation, and inference flow, including `plate_region` dataset support.
14
+
- New region evaluation metrics, including `val_region_macro_f1`, plus per-region evaluation in validation.
15
+
- New CCT v2 model configs, parameterized plate configs, and focal loss support for region classification.
16
+
- Inference now returns `PlatePrediction`, exposing region outputs when available.
17
+
- Export pipeline improvements for multi-output models, plus support for selecting the ONNX opset version.
18
+
- Expanded dataset validation and annotation checks, including region validation and warnings on unexpected columns.
19
+
20
+
### Changed
21
+
22
+
- V2 pre-trained models were trained on roughly 3x more data than the v1 generation.
23
+
- V2 training now includes empty plates built from backgrounds, noise, textures, and other padded-plate negatives.
24
+
- Region recognition now includes an `Unknown` class trained mainly with synthetic data.
25
+
- Updated the new CCT v2 models to use `silu` instead of `gelu` to avoid export issues with some library versions.
26
+
- Added the corrected `attention_layout` behavior so split projection dimensions are distributed per head instead of reusing the full `projection_dim`.
27
+
- The shipped v2 `xs` and `s` pre-trained models both exceed `0.99``val_region_macro_f1` on a held-out validation split with more than `114_000` samples.
28
+
- Transformer blocks and training defaults are more configurable, including projection validation, loss weighting, and milder augmentations.
29
+
- Inference now removes the pad character by default from decoded output.
30
+
- TFLite export now uses LiteRT via `ai-edge-litert` following TensorFlow deprecation changes.
31
+
32
+
### Fixed
33
+
34
+
- Fixed region recognition mismatches during validation.
35
+
- Fixed `EarlyStopping` metric selection when training single-head models.
36
+
- Fixed learning-rate decay step calculation to account for warmup steps.
37
+
8
38
## [1.0.2] - 2025-09-03
9
39
10
40
### Added
@@ -62,4 +92,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
62
92
- Add option to visualize only predictions which have low char prob.
63
93
- Add onnxsim for simplifying ONNX model when exporting.
|`cct-s-v1-global-model`| S |[CCT](https://ankandrew.github.io/fast-plate-ocr/1.0/training/config/model_config/#compact-convolutional-transformer-cct)|**0.5877**|**1701.63**|[model_config.yaml](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v1_global_model_config.yaml)|[plate_config.yaml](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v1_global_plate_config.yaml)|[results](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v1_global_val_results.json)|
|`cct-s-v2-global-model`| S |[CCT](https://ankandrew.github.io/fast-plate-ocr/latest/training/config/model_config/#compact-convolutional-transformer-cct)|**0.6758**|**1479.61**|[model_config.yaml](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v2_global_model_config.yaml)|[plate_config.yaml](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v2_global_plate_config.yaml)|[results](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v2_global_val_results.json)|
|`cct-s-v1-global-model`| S |[CCT](https://ankandrew.github.io/fast-plate-ocr/latest/training/config/model_config/#compact-convolutional-transformer-cct)|**0.5877**|**1701.63**|[model_config.yaml](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v1_global_model_config.yaml)|[plate_config.yaml](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v1_global_plate_config.yaml)|[results](https://github.com/ankandrew/fast-plate-ocr/releases/download/arg-plates/cct_s_v1_global_val_results.json)|
0 commit comments