unicorn who dev commited on
Commit
d132f64
·
verified ·
1 Parent(s): 838dc8f

Add LiteRT conversion: FireViewer YOLO11-M strict v1

Browse files
models/fireviewer_yolo11m_strict_v1/README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # FireViewer YOLO11-M strict v1 — dynamic LiteRT conversion
2
+
3
+ Source: `fireviewer/fire-smoke-yolo11m-strict-v1`, revision `065979cd2300c27eeb355ab1e1524d8223d0b276`.
4
+
5
+ The image height and width are dynamic. No image resampling is embedded in this graph. The supported bounds and any alignment constraints are recorded in `runtime_contract.json`. Batch size is one. Inputs must be normalized as required by the upstream configuration.
6
+
7
+ Validation includes real LiteRT inference at several square and rectangular dimensions and numerical comparison against the source model. See `validation.json` for exact shapes, tolerances and measured errors. These are conversion checks, not accuracy or performance benchmarks. Android execution has not been tested.
8
+
9
+ Preserved upstream license and attribution files apply.
models/fireviewer_yolo11m_strict_v1/RIGHTS_AND_ATTRIBUTION.md ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Rights and attribution
2
+
3
+ - Ultralytics YOLO11: AGPL-3.0 unless a separate Ultralytics enterprise licence applies.
4
+ - FireViewer training corpus: source-specific rights remain in the dataset records.
5
+ - This repository intentionally does **not** use FireViewer Model Use License v1.0 as an overlay on the YOLO checkpoint.
models/fireviewer_yolo11m_strict_v1/THIRD_PARTY_NOTICES.md ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ # Third-party notices
2
+
3
+ Preserve Ultralytics copyright/licence notices and all training-source attribution required by the FireViewer detection corpus.
models/fireviewer_yolo11m_strict_v1/UPSTREAM_README.md ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: agpl-3.0
3
+ pipeline_tag: object-detection
4
+ datasets:
5
+ - fireviewer/fire-smoke-detection-corpus-v1
6
+ tags:
7
+ - fireviewer
8
+ - fire
9
+ - smoke
10
+ - wildfire
11
+ - yolo11
12
+ - object-detection
13
+ - onnx
14
+ ---
15
+
16
+ # FireViewer YOLO11-M strict v1
17
+
18
+ Reproducible two-class visible smoke/flame baseline trained on the strict-clean FireViewer detection corpus.
19
+
20
+ ## Status
21
+
22
+ **Baseline, not the primary detector.** Current frozen independent results:
23
+
24
+ | Metric | Result |
25
+ |---|---:|
26
+ | COCO mAP50-95 | 0.1491 |
27
+ | COCO mAP50 | 0.2784 |
28
+ | Smoke AP50-95 | 0.2790 |
29
+ | Flame AP50-95 | 0.0193 |
30
+ | Holdout precision / recall / F1 | 0.4274 / 0.2488 / 0.3145 |
31
+ | Negative-image false-alarm rate | 0.3391 |
32
+
33
+ Its weak flame AP and recall are explicitly documented; this checkpoint is retained as a reproducible iteration artifact and, in FireViewer Atelier, as a local preannotation helper rather than a certified pointing model.
34
+
35
+ ## Rights
36
+
37
+ Ultralytics code and models are distributed under **AGPL-3.0** unless covered by a separate Ultralytics enterprise licence. Do **not** add the FireViewer non-redistribution checkpoint licence to this repository unless an upstream commercial licence and rights analysis expressly support it.
38
+
39
+ Training-source rights and attribution remain separately applicable.
40
+
41
+ ## Reproducibility and artifact access
42
+
43
+ ```python
44
+ from huggingface_hub import hf_hub_download
45
+
46
+ path = hf_hub_download(
47
+ repo_id="fireviewer/fire-smoke-yolo11m-strict-v1",
48
+ repo_type="model",
49
+ revision="cd483986db09dbb8541087605628bcc23ba5b48f",
50
+ filename="model.pt",
51
+ )
52
+ ```
53
+ Hub artifact SHA-256 for `model.pt`: `4428ee4c17980d8f1995bbe624a593f63326ead85ec76f2f0cd480195bab2a4d`. This identity was read from Hub metadata; the weights were not downloaded or rehashed during the documentation review.
54
+
55
+ The example downloads a pinned artifact; it does not execute or qualify inference. Preserve the matching configuration, labels, preprocessing and runtime dependencies from that revision. Keep raw outputs, scores, model revision and source provenance when integrating with `fireviewer-vision-runtime`.
56
+
57
+ Training corpus: `fireviewer/fire-smoke-detection-corpus-v1` at `8e3cb52e86e15debdff7d37a3ce9eac39fbe1835` (see [run receipt](run-receipt.json) and [source manifest](provenance/source-manifest.json)). Base recipe and implementation are recorded with the training artifacts; a family name alone is not an immutable upstream revision.
58
+
59
+ The included [inference helper](inference.py) consumes an RGB image and returns class ID/name, confidence and `xyxy` image boxes; its documented image size is 960. `--confidence 0.25` is the helper default, not a calibrated deployment threshold.
60
+
61
+ ## Independent evaluation protocol and limits
62
+
63
+ [Published independent report](benchmark/independent-evaluation.json): 512 images from `Hajorda/flameye-wildfire-detection`, `test`, revision `361a3dea8b877482af9f4ed80eff77ffd39926ef`. The retained common protocol uses 129 calibration images and 383 holdout images; its selection is dominated by D-Fire (508/512). Zero exact training overlap is a reported hash-based check, not proof of no semantic or domain overlap.
64
+
65
+ Evaluated model revision: `a75aa44716658f02eb85b4e7bba6a358040e6f86`. The report-calibrated score threshold is **0.1**; it is specific to this protocol and is **not an operational threshold**. COCO AP over the 512-image selection and F1 on the calibrated holdout are different measurements. Do not compare them with RF-DETR training-validation scores or DINOv3 pointing metrics.
66
+
67
+ The report does not contain an explicit execution timestamp. Its original revision is the evidence reference; 19 September is the card review date, not a new evaluation date. Multi-event and multi-camera external validation remains necessary.
68
+
69
+ Sensitive results require human validation. No image detection establishes geographic coordinates, a measured perimeter, absence of fire or future propagation.
70
+
71
+ ## Documentation, revision and stewardship
72
+
73
+ Documentation reviewed on **19 September 2026**, using the FireViewer documentation pack and the repository at [`cd483986db09dbb8541087605628bcc23ba5b48f`](https://huggingface.co/fireviewer/fire-smoke-yolo11m-strict-v1/tree/cd483986db09dbb8541087605628bcc23ba5b48f). This is a documentation and metadata check, not a new model evaluation, training run, data acquisition or full artifact verification. Historical receipts keep their original dates and identifiers; manifest hashes of earlier README versions describe those earlier releases.
74
+
75
+ The association FIRE-VIEWER provides administrative and financial stewardship for resources under its control. Technical governance is maintainer-led. Pre-association rights, UWD components, upstream licences and source-specific rights remain separate; repository placement does not transfer ownership or grant new rights.
76
+
77
+ [Canonical documentation](https://github.com/fireviewer/Fireviewer_doc/blob/main/docs/public/HUGGINGFACE.md) · [Status vocabulary](https://github.com/fireviewer/Fireviewer_doc/blob/main/docs/public/STATUTS_ET_VOCABULAIRE.md) · [Institutional website](https://fire-viewer.fr). Contact: **contact@fire-viewer.fr**.
models/fireviewer_yolo11m_strict_v1/artifact_manifest.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "README.md": {
3
+ "bytes": 811,
4
+ "sha256": "66f5cc8f2aae27e03258c0d380d93e8c225fd21d55089acbbee94d5221c0afef"
5
+ },
6
+ "RIGHTS_AND_ATTRIBUTION.md": {
7
+ "bytes": 320,
8
+ "sha256": "0205b6b00d068287ef8e4583b4791fdee2282cce3c9bef004c52e21d08c4cbd8"
9
+ },
10
+ "THIRD_PARTY_NOTICES.md": {
11
+ "bytes": 151,
12
+ "sha256": "527eea59d330c68ae501c715dd48edc877e6c172a0877fa35ff4897a512df346"
13
+ },
14
+ "UPSTREAM_README.md": {
15
+ "bytes": 5132,
16
+ "sha256": "7a007dfcc306f587a4fcf06fc38765a009e4ffc60da7c42b90be37e2010b5727"
17
+ },
18
+ "labels.json": {
19
+ "bytes": 51,
20
+ "sha256": "1e90a292325bb72bb030090262af2c3014bf7f94b7d91075f972931a61ecdf50"
21
+ },
22
+ "model.tflite": {
23
+ "bytes": 80437180,
24
+ "sha256": "cc9e0fda5982160c9fdcbb94490ed9709e5228b8d94dcb168f147c72ec0f5522"
25
+ },
26
+ "runtime_contract.json": {
27
+ "bytes": 1973,
28
+ "sha256": "768ca28fd347d8b11420bae62eb0772a654c5d6234673ac961e072ad24f26a7a"
29
+ },
30
+ "validation.json": {
31
+ "bytes": 1388,
32
+ "sha256": "92ccbb78756319131b667286628faef0efb964d1927f5055119c9c32c8b3f072"
33
+ }
34
+ }
models/fireviewer_yolo11m_strict_v1/labels.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "0": "smoke_visible",
3
+ "1": "flame_visible"
4
+ }
models/fireviewer_yolo11m_strict_v1/model.tflite ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc9e0fda5982160c9fdcbb94490ed9709e5228b8d94dcb168f147c72ec0f5522
3
+ size 80437180
models/fireviewer_yolo11m_strict_v1/runtime_contract.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "benchmark": false,
3
+ "key": "fireviewer_yolo11m_strict_v1",
4
+ "license": "agpl-3.0",
5
+ "report": {
6
+ "accuracy_evaluated": false,
7
+ "android_tested": false,
8
+ "artifacts": [
9
+ {
10
+ "bytes": 80437180,
11
+ "name": "model.tflite",
12
+ "sha256": "cc9e0fda5982160c9fdcbb94490ed9709e5228b8d94dcb168f147c72ec0f5522"
13
+ }
14
+ ],
15
+ "atol": 0.001,
16
+ "checks": [
17
+ {
18
+ "input_shape": [
19
+ 1,
20
+ 3,
21
+ 384,
22
+ 640
23
+ ],
24
+ "max_abs_errors": [
25
+ 0.001220703125
26
+ ],
27
+ "output_shapes": [
28
+ [
29
+ 1,
30
+ 6,
31
+ 5040
32
+ ]
33
+ ]
34
+ },
35
+ {
36
+ "input_shape": [
37
+ 1,
38
+ 3,
39
+ 640,
40
+ 384
41
+ ],
42
+ "max_abs_errors": [
43
+ 0.00177001953125
44
+ ],
45
+ "output_shapes": [
46
+ [
47
+ 1,
48
+ 6,
49
+ 5040
50
+ ]
51
+ ]
52
+ },
53
+ {
54
+ "input_shape": [
55
+ 1,
56
+ 3,
57
+ 960,
58
+ 960
59
+ ],
60
+ "max_abs_errors": [
61
+ 0.00341796875
62
+ ],
63
+ "output_shapes": [
64
+ [
65
+ 1,
66
+ 6,
67
+ 18900
68
+ ]
69
+ ]
70
+ }
71
+ ],
72
+ "dynamic_validated": true,
73
+ "input_layout": "NCHW",
74
+ "key": "fireviewer_yolo11m_strict_v1",
75
+ "phase": "validated",
76
+ "preprocessing": "RGB float32 in [0,1]; pad to multiples of 32; no resampling embedded",
77
+ "route": "onnx2tf_dynamic",
78
+ "rtol": 0.001,
79
+ "shape_signature": [
80
+ -1,
81
+ 3,
82
+ -1,
83
+ -1
84
+ ],
85
+ "spatial_bounds": {
86
+ "alignment": 32,
87
+ "tested_max": 960
88
+ }
89
+ },
90
+ "route": "onnx2tf_dynamic",
91
+ "schema": 1,
92
+ "structural_only": false,
93
+ "task": "fire/smoke detection",
94
+ "tflite": [
95
+ "model.tflite"
96
+ ],
97
+ "title": "FireViewer YOLO11-M strict v1",
98
+ "upstream": "fireviewer/fire-smoke-yolo11m-strict-v1",
99
+ "upstream_revision": "065979cd2300c27eeb355ab1e1524d8223d0b276"
100
+ }
models/fireviewer_yolo11m_strict_v1/validation.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accuracy_evaluated": false,
3
+ "android_tested": false,
4
+ "artifacts": [
5
+ {
6
+ "bytes": 80437180,
7
+ "name": "model.tflite",
8
+ "sha256": "cc9e0fda5982160c9fdcbb94490ed9709e5228b8d94dcb168f147c72ec0f5522"
9
+ }
10
+ ],
11
+ "atol": 0.001,
12
+ "checks": [
13
+ {
14
+ "input_shape": [
15
+ 1,
16
+ 3,
17
+ 384,
18
+ 640
19
+ ],
20
+ "max_abs_errors": [
21
+ 0.001220703125
22
+ ],
23
+ "output_shapes": [
24
+ [
25
+ 1,
26
+ 6,
27
+ 5040
28
+ ]
29
+ ]
30
+ },
31
+ {
32
+ "input_shape": [
33
+ 1,
34
+ 3,
35
+ 640,
36
+ 384
37
+ ],
38
+ "max_abs_errors": [
39
+ 0.00177001953125
40
+ ],
41
+ "output_shapes": [
42
+ [
43
+ 1,
44
+ 6,
45
+ 5040
46
+ ]
47
+ ]
48
+ },
49
+ {
50
+ "input_shape": [
51
+ 1,
52
+ 3,
53
+ 960,
54
+ 960
55
+ ],
56
+ "max_abs_errors": [
57
+ 0.00341796875
58
+ ],
59
+ "output_shapes": [
60
+ [
61
+ 1,
62
+ 6,
63
+ 18900
64
+ ]
65
+ ]
66
+ }
67
+ ],
68
+ "dynamic_validated": true,
69
+ "input_layout": "NCHW",
70
+ "key": "fireviewer_yolo11m_strict_v1",
71
+ "phase": "validated",
72
+ "preprocessing": "RGB float32 in [0,1]; pad to multiples of 32; no resampling embedded",
73
+ "route": "onnx2tf_dynamic",
74
+ "rtol": 0.001,
75
+ "shape_signature": [
76
+ -1,
77
+ 3,
78
+ -1,
79
+ -1
80
+ ],
81
+ "spatial_bounds": {
82
+ "alignment": 32,
83
+ "tested_max": 960
84
+ }
85
+ }