Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -10,7 +10,7 @@ tags:
|
|
| 10 |
|
| 11 |
# Temporal Smoke Model (bbox-tube-temporal)
|
| 12 |
|
| 13 |
-
> **Latest release:** [`v0.
|
| 14 |
|
| 15 |
A temporal wildfire-**smoke** classifier for short sequences of camera frames. A
|
| 16 |
YOLO detector proposes boxes, boxes are linked across frames into temporal
|
|
@@ -52,7 +52,7 @@ from huggingface_hub import hf_hub_download
|
|
| 52 |
from temporal_model.core import Detection, FrameDetections
|
| 53 |
from temporal_model.core.onnx_model import OnnxTemporalModel
|
| 54 |
|
| 55 |
-
onnx_zip = hf_hub_download("pyronear/temporal-model", "model_onnx.zip", revision="v0.
|
| 56 |
model = OnnxTemporalModel.from_package(Path(onnx_zip))
|
| 57 |
|
| 58 |
frames = model.load_sequence(sorted(Path("my_sequence").glob("*.jpg")))
|
|
@@ -88,7 +88,7 @@ from huggingface_hub import hf_hub_download
|
|
| 88 |
from temporal_model.core.model import BboxTubeTemporalModel
|
| 89 |
|
| 90 |
# 1. Download a specific release (pin the revision).
|
| 91 |
-
model_zip = hf_hub_download("pyronear/temporal-model", "model.zip", revision="v0.
|
| 92 |
|
| 93 |
# 2. Temporally-ordered frames. Filenames carry timestamps
|
| 94 |
# (<prefix>_<YYYY-MM-DDTHH-MM-SS>.jpg); the order is the time order.
|
|
|
|
| 10 |
|
| 11 |
# Temporal Smoke Model (bbox-tube-temporal)
|
| 12 |
|
| 13 |
+
> **Latest release:** [`v0.6.0`](https://huggingface.co/pyronear/temporal-model/tree/v0.6.0) — pin this revision for reproducibility, or omit `revision=` to always get the latest. All releases: the **Files and versions** tab.
|
| 14 |
|
| 15 |
A temporal wildfire-**smoke** classifier for short sequences of camera frames. A
|
| 16 |
YOLO detector proposes boxes, boxes are linked across frames into temporal
|
|
|
|
| 52 |
from temporal_model.core import Detection, FrameDetections
|
| 53 |
from temporal_model.core.onnx_model import OnnxTemporalModel
|
| 54 |
|
| 55 |
+
onnx_zip = hf_hub_download("pyronear/temporal-model", "model_onnx.zip", revision="v0.6.0")
|
| 56 |
model = OnnxTemporalModel.from_package(Path(onnx_zip))
|
| 57 |
|
| 58 |
frames = model.load_sequence(sorted(Path("my_sequence").glob("*.jpg")))
|
|
|
|
| 88 |
from temporal_model.core.model import BboxTubeTemporalModel
|
| 89 |
|
| 90 |
# 1. Download a specific release (pin the revision).
|
| 91 |
+
model_zip = hf_hub_download("pyronear/temporal-model", "model.zip", revision="v0.6.0")
|
| 92 |
|
| 93 |
# 2. Temporally-ordered frames. Filenames carry timestamps
|
| 94 |
# (<prefix>_<YYYY-MM-DDTHH-MM-SS>.jpg); the order is the time order.
|