Mateo commited on
Commit
56d67d6
·
verified ·
1 Parent(s): bdc41e3

Upload Sensitive Detector v1.1.0

Browse files
Files changed (5) hide show
  1. README.md +10 -6
  2. best.pt +1 -1
  3. manifest.yaml +53 -53
  4. ncnn_cpu.tar.gz +2 -2
  5. onnx_cpu.tar.gz +2 -2
README.md CHANGED
@@ -10,12 +10,15 @@ tags:
10
  - pyronear
11
  ---
12
 
13
- # pyronear/yolo11s_sensitive-detector_v1.0.0
14
 
15
  Pyronear YOLO model for early wildfire smoke detection.
16
 
17
  **Release name:** Sensitive Detector
18
- **Version:** v1.0.0
 
 
 
19
 
20
  ## Model details
21
 
@@ -25,8 +28,8 @@ Pyronear YOLO model for early wildfire smoke detection.
25
  | Image size | 1024 |
26
  | Epochs | 50 |
27
  | Optimizer | AdamW |
28
- | Weights SHA-256 | `f6f7868833804965...` |
29
- | Training data MD5 | `fcd56c8728d160e9...` |
30
 
31
  ## Files
32
 
@@ -58,7 +61,7 @@ import onnxruntime as ort
58
  import numpy as np
59
  from PIL import Image
60
 
61
- path = hf_hub_download(repo_id="pyronear/yolo11s_sensitive-detector_v1.0.0", filename="onnx_cpu.tar.gz")
62
  session = ort.InferenceSession(path, providers=["CPUExecutionProvider"])
63
 
64
  img = Image.open("image.jpg").resize((1024, 1024))
@@ -78,7 +81,8 @@ tar -xzf ncnn_cpu.tar.gz
78
  ```python
79
  from huggingface_hub import snapshot_download
80
 
81
- local_dir = snapshot_download(repo_id="pyronear/yolo11s_sensitive-detector_v1.0.0")
 
82
  ```
83
 
84
  ### Pyronear engine (sequential smoke detection)
 
10
  - pyronear
11
  ---
12
 
13
+ # pyronear/yolo11s_sensitive-detector
14
 
15
  Pyronear YOLO model for early wildfire smoke detection.
16
 
17
  **Release name:** Sensitive Detector
18
+ **Latest version:** v1.1.0
19
+
20
+ Each release is a git tag on this repo (e.g. `v1.1.0`). Pin a version with
21
+ `revision="v1.1.0"` in `hf_hub_download` / `snapshot_download`.
22
 
23
  ## Model details
24
 
 
28
  | Image size | 1024 |
29
  | Epochs | 50 |
30
  | Optimizer | AdamW |
31
+ | Weights SHA-256 | `a9bfa11c559e4b22...` |
32
+ | Training data MD5 | `409302377938ce2a...` |
33
 
34
  ## Files
35
 
 
61
  import numpy as np
62
  from PIL import Image
63
 
64
+ path = hf_hub_download(repo_id="pyronear/yolo11s_sensitive-detector", filename="onnx_cpu.tar.gz")
65
  session = ort.InferenceSession(path, providers=["CPUExecutionProvider"])
66
 
67
  img = Image.open("image.jpg").resize((1024, 1024))
 
81
  ```python
82
  from huggingface_hub import snapshot_download
83
 
84
+ local_dir = snapshot_download(repo_id="pyronear/yolo11s_sensitive-detector") # latest
85
+ local_dir = snapshot_download(repo_id="pyronear/yolo11s_sensitive-detector", revision="v1.1.0") # pinned
86
  ```
87
 
88
  ### Pyronear engine (sequential smoke detection)
best.pt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f6f78688338049652a00f3804bd171ed04a4f3284f4c5877a4b21aaf92fde039
3
  size 19225626
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9bfa11c559e4b221c43bb24a0ec0857bc75ec653283ba6146aef44c088da51a
3
  size 19225626
manifest.yaml CHANGED
@@ -1,22 +1,22 @@
1
  model:
2
  weights:
3
  filepath: data/02_models/yolo/best/weights/best.pt
4
- sha256: f6f78688338049652a00f3804bd171ed04a4f3284f4c5877a4b21aaf92fde039
5
  model_type: yolo11s.pt
6
  dvc:
7
  path: ./data/02_models/yolo/best
8
  hash: md5
9
- md5: ef33a081ba731d593ab9a0fe4800dce6.dir
10
- size: 44144497
11
  nfiles: 24
12
  data:
13
  data_yaml: data/01_model_input/yolo_train_val_small/datasets/data.yaml
14
  dvc:
15
  path: ./data/01_model_input/yolo_train_val
16
  hash: md5
17
- md5: fcd56c8728d160e957bf0acd8049368d.dir
18
- size: 1780235401
19
- nfiles: 30387
20
  train_run_args:
21
  task: detect
22
  mode: train
@@ -180,20 +180,20 @@ dvc_lock:
180
  cmd:
181
  - uv run python ./scripts/data/model_input/build.py --input-dir ./data/01_model_input/yolo_train_val
182
  --output-dir ./data/01_model_input/yolo_train_val_small --sampling-ratio
183
- 1 --random-seed 0 --remove-background --loglevel info
184
  - uv run python ./scripts/model/yolo/train.py --data ./data/01_model_input/yolo_train_val_small/datasets/data.yaml
185
  --config ./scripts/model/yolo/configs/best.yaml --output-dir ./data/02_models/yolo/
186
  --experiment-name best --loglevel info
187
  deps:
188
  - path: ./data/01_model_input/yolo_train_val
189
  hash: md5
190
- md5: fcd56c8728d160e957bf0acd8049368d.dir
191
- size: 1780235401
192
- nfiles: 30387
193
  - path: ./scripts/data/model_input/build.py
194
  hash: md5
195
- md5: 90d0643f57bff22e2005b43e33eca658
196
- size: 7200
197
  - path: ./scripts/model/yolo/configs/best.yaml
198
  hash: md5
199
  md5: 82ab9c26b11cfc5f72e1398bfceeb838
@@ -205,8 +205,8 @@ dvc_lock:
205
  outs:
206
  - path: ./data/02_models/yolo/best
207
  hash: md5
208
- md5: ef33a081ba731d593ab9a0fe4800dce6.dir
209
- size: 44144497
210
  nfiles: 24
211
  build_manifest_yolo_best:
212
  cmd:
@@ -215,8 +215,8 @@ dvc_lock:
215
  deps:
216
  - path: ./data/02_models/yolo/best/
217
  hash: md5
218
- md5: be5d61086d3a2b2e68e8a5dd61b14901.dir
219
- size: 44003643
220
  nfiles: 24
221
  - path: ./scripts/model/yolo/build_manifest.py
222
  hash: md5
@@ -225,8 +225,8 @@ dvc_lock:
225
  outs:
226
  - path: ./data/03_reporting/yolo/best/
227
  hash: md5
228
- md5: d16e4d5660095fd5a38280ebea098ddc.dir
229
- size: 13490
230
  nfiles: 1
231
  export_yolo_best@onnx-cpu:
232
  cmd:
@@ -236,8 +236,8 @@ dvc_lock:
236
  deps:
237
  - path: ./data/02_models/yolo/best/
238
  hash: md5
239
- md5: be5d61086d3a2b2e68e8a5dd61b14901.dir
240
- size: 44003643
241
  nfiles: 24
242
  - path: ./scripts/model/yolo/export.py
243
  hash: md5
@@ -246,8 +246,8 @@ dvc_lock:
246
  outs:
247
  - path: ./data/02_models/yolo-export/best/onnx/cpu
248
  hash: md5
249
- md5: 0b4f67d18810a40cb4d783312a4bdca8.dir
250
- size: 38512704
251
  nfiles: 1
252
  export_yolo_best@onnx-mps:
253
  cmd:
@@ -278,8 +278,8 @@ dvc_lock:
278
  deps:
279
  - path: ./data/02_models/yolo/best/
280
  hash: md5
281
- md5: be5d61086d3a2b2e68e8a5dd61b14901.dir
282
- size: 44003643
283
  nfiles: 24
284
  - path: ./scripts/model/yolo/export.py
285
  hash: md5
@@ -288,8 +288,8 @@ dvc_lock:
288
  outs:
289
  - path: ./data/02_models/yolo-export/best/ncnn/cpu
290
  hash: md5
291
- md5: e1493ed19c061ad3ec6b00caead444bd.dir
292
- size: 38001888
293
  nfiles: 5
294
  export_yolo_best@ncnn-mps:
295
  cmd:
@@ -314,28 +314,28 @@ dvc_lock:
314
  nfiles: 5
315
  fetch_model_input:
316
  cmd:
317
- - uv run dvc get https://github.com/pyronear/pyro-dataset data/processed/yolo_train_val
318
- --rev v2.1.0 --out ./data/01_model_input/yolo_train_val || uv run dvc get
319
- git@github.com:pyronear/pyro-dataset.git data/processed/yolo_train_val --rev
320
- v2.1.0 --out ./data/01_model_input/yolo_train_val
321
  outs:
322
  - path: ./data/01_model_input/yolo_train_val
323
  hash: md5
324
- md5: fcd56c8728d160e957bf0acd8049368d.dir
325
- size: 1780235401
326
- nfiles: 30387
327
  fetch_sequential_val:
328
  cmd:
329
  - uv run dvc get https://github.com/pyronear/pyro-dataset data/processed/sequential_train_val/val
330
- --rev v2.1.0 --out ./data/01_model_input/sequential_train_val/val || uv
331
- run dvc get git@github.com:pyronear/pyro-dataset.git data/processed/sequential_train_val/val
332
- --rev v2.1.0 --out ./data/01_model_input/sequential_train_val/val
333
  outs:
334
  - path: ./data/01_model_input/sequential_train_val/val
335
  hash: md5
336
- md5: 2ca47638a4b0cc9ca7d4011376c54e45.dir
337
- size: 631259421
338
- nfiles: 12448
339
  evaluate_sequential_yolo_best:
340
  cmd:
341
  - uv run python ./scripts/model/yolo/evaluate_sequential.py --model-path ./data/02_models/yolo-export/best/onnx/cpu/best.onnx
@@ -369,12 +369,12 @@ dvc_lock:
369
  deps:
370
  - path: ./data/01_model_input/sequential_train_val/val
371
  hash: md5
372
- md5: 2ca47638a4b0cc9ca7d4011376c54e45.dir
373
- size: 631259421
374
- nfiles: 12448
375
  - path: ./data/02_models/yolo/best/weights/best.pt
376
  hash: md5
377
- md5: fea4ddc8d904fcc5ff11ad900e040837
378
  size: 19225626
379
  - path: predict_sequential.py
380
  hash: md5
@@ -383,9 +383,9 @@ dvc_lock:
383
  outs:
384
  - path: ./data/03_reporting/sequential/predictions_labels_val
385
  hash: md5
386
- md5: cbe0e8e4d58627ca6856371246d400c2.dir
387
- size: 104904
388
- nfiles: 3438
389
  optimize_sequential_val:
390
  cmd:
391
  - uv run python optimize_sequential.py --labels-dir ./data/03_reporting/sequential/predictions_labels_val
@@ -395,9 +395,9 @@ dvc_lock:
395
  deps:
396
  - path: ./data/03_reporting/sequential/predictions_labels_val
397
  hash: md5
398
- md5: cbe0e8e4d58627ca6856371246d400c2.dir
399
- size: 104904
400
- nfiles: 3438
401
  - path: optimize_sequential.py
402
  hash: md5
403
  md5: 115eb45048da93018f7ea86b5f954270
@@ -405,9 +405,9 @@ dvc_lock:
405
  outs:
406
  - path: ./data/03_reporting/sequential/grid_search_val.tsv
407
  hash: md5
408
- md5: 8bae210202dc4210162712779346d572
409
- size: 1896
410
  - path: ./data/03_reporting/sequential/grid_search_val_top20.tsv
411
  hash: md5
412
- md5: 42f461234b5a48ca27bb28a46afb2cd0
413
- size: 975
 
1
  model:
2
  weights:
3
  filepath: data/02_models/yolo/best/weights/best.pt
4
+ sha256: a9bfa11c559e4b221c43bb24a0ec0857bc75ec653283ba6146aef44c088da51a
5
  model_type: yolo11s.pt
6
  dvc:
7
  path: ./data/02_models/yolo/best
8
  hash: md5
9
+ md5: 52216f9194f58306d24d4802af43394a.dir
10
+ size: 44857368
11
  nfiles: 24
12
  data:
13
  data_yaml: data/01_model_input/yolo_train_val_small/datasets/data.yaml
14
  dvc:
15
  path: ./data/01_model_input/yolo_train_val
16
  hash: md5
17
+ md5: 409302377938ce2a82f5338f3145cbbc.dir
18
+ size: 1914167911
19
+ nfiles: 32201
20
  train_run_args:
21
  task: detect
22
  mode: train
 
180
  cmd:
181
  - uv run python ./scripts/data/model_input/build.py --input-dir ./data/01_model_input/yolo_train_val
182
  --output-dir ./data/01_model_input/yolo_train_val_small --sampling-ratio
183
+ 1 --random-seed 0 --exclude-background --loglevel info
184
  - uv run python ./scripts/model/yolo/train.py --data ./data/01_model_input/yolo_train_val_small/datasets/data.yaml
185
  --config ./scripts/model/yolo/configs/best.yaml --output-dir ./data/02_models/yolo/
186
  --experiment-name best --loglevel info
187
  deps:
188
  - path: ./data/01_model_input/yolo_train_val
189
  hash: md5
190
+ md5: 409302377938ce2a82f5338f3145cbbc.dir
191
+ size: 1914167911
192
+ nfiles: 32201
193
  - path: ./scripts/data/model_input/build.py
194
  hash: md5
195
+ md5: f745456171e8a8b24faca0e5f2bc0a22
196
+ size: 7800
197
  - path: ./scripts/model/yolo/configs/best.yaml
198
  hash: md5
199
  md5: 82ab9c26b11cfc5f72e1398bfceeb838
 
205
  outs:
206
  - path: ./data/02_models/yolo/best
207
  hash: md5
208
+ md5: 52216f9194f58306d24d4802af43394a.dir
209
+ size: 44857368
210
  nfiles: 24
211
  build_manifest_yolo_best:
212
  cmd:
 
215
  deps:
216
  - path: ./data/02_models/yolo/best/
217
  hash: md5
218
+ md5: 0e3617cd00b6a1985129110757bca1a0.dir
219
+ size: 44813862
220
  nfiles: 24
221
  - path: ./scripts/model/yolo/build_manifest.py
222
  hash: md5
 
225
  outs:
226
  - path: ./data/03_reporting/yolo/best/
227
  hash: md5
228
+ md5: c01eb3ce79f23e0999d3220813c01881.dir
229
+ size: 13529
230
  nfiles: 1
231
  export_yolo_best@onnx-cpu:
232
  cmd:
 
236
  deps:
237
  - path: ./data/02_models/yolo/best/
238
  hash: md5
239
+ md5: 0e3617cd00b6a1985129110757bca1a0.dir
240
+ size: 44813862
241
  nfiles: 24
242
  - path: ./scripts/model/yolo/export.py
243
  hash: md5
 
246
  outs:
247
  - path: ./data/02_models/yolo-export/best/onnx/cpu
248
  hash: md5
249
+ md5: 3e101e69ac72dc3109be7afd2b61aa4a.dir
250
+ size: 38532985
251
  nfiles: 1
252
  export_yolo_best@onnx-mps:
253
  cmd:
 
278
  deps:
279
  - path: ./data/02_models/yolo/best/
280
  hash: md5
281
+ md5: 0e3617cd00b6a1985129110757bca1a0.dir
282
+ size: 44813862
283
  nfiles: 24
284
  - path: ./scripts/model/yolo/export.py
285
  hash: md5
 
288
  outs:
289
  - path: ./data/02_models/yolo-export/best/ncnn/cpu
290
  hash: md5
291
+ md5: f6f1f2b316198f427a51b3b8335e7b7c.dir
292
+ size: 38001906
293
  nfiles: 5
294
  export_yolo_best@ncnn-mps:
295
  cmd:
 
314
  nfiles: 5
315
  fetch_model_input:
316
  cmd:
317
+ - uv run dvc get https://github.com/pyronear/pyro-dataset data/processed/yolo_train_val_corrected
318
+ --rev v4.0.0-corrected --out ./data/01_model_input/yolo_train_val || uv
319
+ run dvc get git@github.com:pyronear/pyro-dataset.git data/processed/yolo_train_val_corrected
320
+ --rev v4.0.0-corrected --out ./data/01_model_input/yolo_train_val
321
  outs:
322
  - path: ./data/01_model_input/yolo_train_val
323
  hash: md5
324
+ md5: 409302377938ce2a82f5338f3145cbbc.dir
325
+ size: 1914167911
326
+ nfiles: 32201
327
  fetch_sequential_val:
328
  cmd:
329
  - uv run dvc get https://github.com/pyronear/pyro-dataset data/processed/sequential_train_val/val
330
+ --rev v4.0.0-corrected --out ./data/01_model_input/sequential_train_val/val
331
+ || uv run dvc get git@github.com:pyronear/pyro-dataset.git data/processed/sequential_train_val/val
332
+ --rev v4.0.0-corrected --out ./data/01_model_input/sequential_train_val/val
333
  outs:
334
  - path: ./data/01_model_input/sequential_train_val/val
335
  hash: md5
336
+ md5: 652f9f7e73f297b782ed68e1b4844cce.dir
337
+ size: 671953151
338
+ nfiles: 11478
339
  evaluate_sequential_yolo_best:
340
  cmd:
341
  - uv run python ./scripts/model/yolo/evaluate_sequential.py --model-path ./data/02_models/yolo-export/best/onnx/cpu/best.onnx
 
369
  deps:
370
  - path: ./data/01_model_input/sequential_train_val/val
371
  hash: md5
372
+ md5: 652f9f7e73f297b782ed68e1b4844cce.dir
373
+ size: 671953151
374
+ nfiles: 11478
375
  - path: ./data/02_models/yolo/best/weights/best.pt
376
  hash: md5
377
+ md5: 550d1b91fb93e52cf233166b03405a10
378
  size: 19225626
379
  - path: predict_sequential.py
380
  hash: md5
 
383
  outs:
384
  - path: ./data/03_reporting/sequential/predictions_labels_val
385
  hash: md5
386
+ md5: 796a49a2802fa773158ca168a680f12c.dir
387
+ size: 109228
388
+ nfiles: 3340
389
  optimize_sequential_val:
390
  cmd:
391
  - uv run python optimize_sequential.py --labels-dir ./data/03_reporting/sequential/predictions_labels_val
 
395
  deps:
396
  - path: ./data/03_reporting/sequential/predictions_labels_val
397
  hash: md5
398
+ md5: 796a49a2802fa773158ca168a680f12c.dir
399
+ size: 109228
400
+ nfiles: 3340
401
  - path: optimize_sequential.py
402
  hash: md5
403
  md5: 115eb45048da93018f7ea86b5f954270
 
405
  outs:
406
  - path: ./data/03_reporting/sequential/grid_search_val.tsv
407
  hash: md5
408
+ md5: aa6f9da227c79d6ffa2903e7b9a3d18b
409
+ size: 1873
410
  - path: ./data/03_reporting/sequential/grid_search_val_top20.tsv
411
  hash: md5
412
+ md5: dd8e0aa4c8bc678deb27acbdd911c065
413
+ size: 973
ncnn_cpu.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c44d4f6770e6eb1c281ca30207c11121ee4bbff8c58c96dc6e658f7b932ac8ce
3
- size 32591612
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db13af06fa87c896e4f298d60abf514308b6cdaeb148a15e841a85ca07e9b857
3
+ size 32590473
onnx_cpu.tar.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e694608550f04c9367484d792921fff822715e27d6a9cba672afef88008b2d4c
3
- size 32603016
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c9f243705a301abf76ef62803e158c8c47bf932f0c7f942816bef72660a6b40
3
+ size 32605576