Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,102 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
datasets:
|
| 4 |
-
- blanchon/FireRisk
|
| 5 |
-
language:
|
| 6 |
- en
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
|
|
|
|
|
|
|
|
|
| 3 |
- en
|
| 4 |
+
|
| 5 |
+
license: mit
|
| 6 |
+
|
| 7 |
+
library_name: pytorch
|
| 8 |
+
|
| 9 |
+
tags:
|
| 10 |
+
- computer-vision
|
| 11 |
+
- image-classification
|
| 12 |
+
- deep-learning
|
| 13 |
+
- convnext
|
| 14 |
+
- pytorch
|
| 15 |
+
- forestry
|
| 16 |
+
- plants
|
| 17 |
+
- environment
|
| 18 |
+
- ai-for-good
|
| 19 |
+
|
| 20 |
+
pipeline_tag: image-classification
|
| 21 |
+
|
| 22 |
+
model_name: FloraGuard
|
| 23 |
+
|
| 24 |
+
model_type: ConvNeXt-Base
|
| 25 |
+
|
| 26 |
+
base_model: timm/convnext_base
|
| 27 |
+
|
| 28 |
+
author: Aarav
|
| 29 |
+
|
| 30 |
+
description: >
|
| 31 |
+
FloraGuard is a deep learning–based image classification model designed to
|
| 32 |
+
identify and classify forest and plant-related categories. It uses a
|
| 33 |
+
ConvNeXt-Base backbone pretrained on ImageNet and a custom classification
|
| 34 |
+
head for improved accuracy and generalization.
|
| 35 |
+
|
| 36 |
+
training:
|
| 37 |
+
framework: PyTorch
|
| 38 |
+
optimizer: AdamW
|
| 39 |
+
loss_function: CrossEntropyLoss
|
| 40 |
+
batch_size: 4
|
| 41 |
+
epochs: 20
|
| 42 |
+
scheduler: ReduceLROnPlateau
|
| 43 |
+
device: CUDA / CPU
|
| 44 |
+
|
| 45 |
+
architecture:
|
| 46 |
+
backbone: ConvNeXt-Base (pretrained on ImageNet)
|
| 47 |
+
classification_head: >
|
| 48 |
+
Linear → BatchNorm → ReLU → Dropout → Linear
|
| 49 |
+
|
| 50 |
+
dataset:
|
| 51 |
+
format: ImageFolder
|
| 52 |
+
structure: |
|
| 53 |
+
Dataset/
|
| 54 |
+
├── train/
|
| 55 |
+
│ ├── class_1/
|
| 56 |
+
│ ├── class_2/
|
| 57 |
+
│ └── ...
|
| 58 |
+
└── val/
|
| 59 |
+
├── class_1/
|
| 60 |
+
├── class_2/
|
| 61 |
+
└── ...
|
| 62 |
+
description: >
|
| 63 |
+
Multi-class forest and plant image dataset organized by class folders.
|
| 64 |
+
|
| 65 |
+
augmentation:
|
| 66 |
+
train:
|
| 67 |
+
- Resize (320x320)
|
| 68 |
+
- Random Horizontal Flip
|
| 69 |
+
- Random Rotation
|
| 70 |
+
- Color Jitter
|
| 71 |
+
- Normalization
|
| 72 |
+
validation:
|
| 73 |
+
- Resize (320x320)
|
| 74 |
+
- Normalization
|
| 75 |
+
|
| 76 |
+
evaluation:
|
| 77 |
+
metrics:
|
| 78 |
+
- F1 Score
|
| 79 |
+
- Confusion Matrix
|
| 80 |
+
- Classification Report
|
| 81 |
+
- Training & Validation Loss Curves
|
| 82 |
+
|
| 83 |
+
outputs:
|
| 84 |
+
best_model: best_model.pth
|
| 85 |
+
|
| 86 |
+
use_cases:
|
| 87 |
+
- Forest monitoring
|
| 88 |
+
- Plant classification
|
| 89 |
+
- Environmental AI applications
|
| 90 |
+
- Research and education
|
| 91 |
+
|
| 92 |
+
requirements:
|
| 93 |
+
- torch
|
| 94 |
+
- torchvision
|
| 95 |
+
- timm
|
| 96 |
+
- numpy
|
| 97 |
+
- matplotlib
|
| 98 |
+
- scikit-learn
|
| 99 |
+
- pillow
|
| 100 |
+
---
|
| 101 |
+
|
| 102 |
+
|