Instructions to use arnaucas/wildfire-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use arnaucas/wildfire-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="arnaucas/wildfire-classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("arnaucas/wildfire-classifier") model = AutoModelForImageClassification.from_pretrained("arnaucas/wildfire-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,7 +23,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
| 23 |
# Wildfire classifier
|
| 24 |
|
| 25 |
This model is a fine-tuned version of [google/vit-base-patch16-384](https://huggingface.co/google/vit-base-patch16-384) on the
|
| 26 |
-
[Kaggle Wildfire Dataset](https://www.kaggle.com/datasets/elmadafri/the-wildfire-dataset)
|
| 27 |
It achieves the following results on the evaluation set:
|
| 28 |
- Loss: 0.2329
|
| 29 |
- Accuracy: 0.9202
|
|
|
|
| 23 |
# Wildfire classifier
|
| 24 |
|
| 25 |
This model is a fine-tuned version of [google/vit-base-patch16-384](https://huggingface.co/google/vit-base-patch16-384) on the
|
| 26 |
+
[Kaggle Wildfire Dataset](https://www.kaggle.com/datasets/elmadafri/the-wildfire-dataset)
|
| 27 |
It achieves the following results on the evaluation set:
|
| 28 |
- Loss: 0.2329
|
| 29 |
- Accuracy: 0.9202
|