Instructions to use keya254/EO-Model-Prithvi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TerraTorch
How to use keya254/EO-Model-Prithvi with TerraTorch:
from terratorch.registry import BACKBONE_REGISTRY model = BACKBONE_REGISTRY.build("keya254/EO-Model-Prithvi") - Notebooks
- Google Colab
- Kaggle
Update model card
Browse files
README.md
CHANGED
|
@@ -13,23 +13,23 @@ license: apache-2.0
|
|
| 13 |
|
| 14 |
Fine-tuned **Prithvi-EO-2.0-300M-TL** with a UperNet decoder on the public
|
| 15 |
IBM/NASA multi-temporal crop classification dataset (13 classes, 6 HLS bands,
|
| 16 |
-
3 dates, 30 m). Trained for
|
| 17 |
|
| 18 |
## Results (validation split)
|
| 19 |
|
| 20 |
-
| Metric | Epoch
|
| 21 |
-
| --- | --- | --- |
|
| 22 |
-
| Loss | 1.
|
| 23 |
-
| mIoU | 0.
|
| 24 |
-
| F1 | 0.
|
| 25 |
-
| Pixel accuracy | 0.
|
| 26 |
|
| 27 |
## Files
|
| 28 |
|
| 29 |
-
- `multicrop_300m_tl/
|
| 30 |
-
- `multicrop_300m_tl/
|
| 31 |
-
- `multicrop_300m_tl/
|
| 32 |
-
- `multicrop_300m_tl/
|
| 33 |
|
| 34 |
## Usage
|
| 35 |
|
|
@@ -37,7 +37,7 @@ IBM/NASA multi-temporal crop classification dataset (13 classes, 6 HLS bands,
|
|
| 37 |
from terratorch.tasks import SemanticSegmentationTask
|
| 38 |
|
| 39 |
task = SemanticSegmentationTask.load_from_checkpoint(
|
| 40 |
-
"multicrop_300m_tl/
|
| 41 |
map_location="cpu",
|
| 42 |
)
|
| 43 |
model = task.model.eval()
|
|
|
|
| 13 |
|
| 14 |
Fine-tuned **Prithvi-EO-2.0-300M-TL** with a UperNet decoder on the public
|
| 15 |
IBM/NASA multi-temporal crop classification dataset (13 classes, 6 HLS bands,
|
| 16 |
+
3 dates, 30 m). Trained for 60 epochs on a single NVIDIA A10G via Modal.
|
| 17 |
|
| 18 |
## Results (validation split)
|
| 19 |
|
| 20 |
+
| Metric | Epoch 29 | Epoch 39 | Epoch 49 |
|
| 21 |
+
| --- | --- | --- | --- |
|
| 22 |
+
| Loss | 1.242 | 1.245 | **1.231** |
|
| 23 |
+
| mIoU | 0.335 | **0.358** | 0.358 |
|
| 24 |
+
| F1 | 0.499 | **0.525** | 0.524 |
|
| 25 |
+
| Pixel accuracy | 0.508 | 0.533 | **0.535** |
|
| 26 |
|
| 27 |
## Files
|
| 28 |
|
| 29 |
+
- `multicrop_300m_tl/version_1/checkpoints/epoch=49.ckpt` - full Lightning checkpoint (best val loss)
|
| 30 |
+
- `multicrop_300m_tl/version_1/checkpoints/epoch=49_state_dict.ckpt` - model weights only
|
| 31 |
+
- `multicrop_300m_tl/version_1/*.yaml` - resolved training config
|
| 32 |
+
- `multicrop_300m_tl/version_1/events.out.tfevents.*` - TensorBoard logs
|
| 33 |
|
| 34 |
## Usage
|
| 35 |
|
|
|
|
| 37 |
from terratorch.tasks import SemanticSegmentationTask
|
| 38 |
|
| 39 |
task = SemanticSegmentationTask.load_from_checkpoint(
|
| 40 |
+
"multicrop_300m_tl/version_1/checkpoints/epoch=49.ckpt",
|
| 41 |
map_location="cpu",
|
| 42 |
)
|
| 43 |
model = task.model.eval()
|