Instructions to use pyronear/rexnet1_5x with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use pyronear/rexnet1_5x with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="pyronear/rexnet1_5x") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("pyronear/rexnet1_5x", device_map="auto") - Notebooks
- Google Colab
- Kaggle
F-G Fernandez commited on
Commit ·
0b1d1e5
1
Parent(s): 3c30aad
feat: Updated model checkpoint
Browse files- config.json +1 -1
- model.onnx +2 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"mean": [0.485, 0.456, 0.406], "std": [0.229, 0.224, 0.225], "arch": "rexnet1_5x", "interpolation": "bilinear", "input_shape": [3,
|
|
|
|
| 1 |
+
{"mean": [0.485, 0.456, 0.406], "std": [0.229, 0.224, 0.225], "arch": "rexnet1_5x", "interpolation": "bilinear", "input_shape": [3, 256, 384], "classes": ["Wildfire"]}
|
model.onnx
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe1c9cb11a7ae87efe7ca1627c14b21a7d23c49bfb6885f4a4a26175ad1b9755
|
| 3 |
+
size 31238572
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c3891115bb96656901f81f73c4b3520c756ea0da6018f70d6d522fa56fb15157
|
| 3 |
+
size 31605857
|