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
File size: 1,360 Bytes
d162f56 d01ca79 d162f56 d01ca79 d162f56 d01ca79 d162f56 d01ca79 d162f56 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ---
library_name: terratorch
tags:
- remote-sensing
- crop-classification
- prithvi
- semantic-segmentation
- terratorch
license: apache-2.0
---
# Prithvi-EO-2.0-300M crop classification baseline
Fine-tuned **Prithvi-EO-2.0-300M-TL** with a UperNet decoder on the public
IBM/NASA multi-temporal crop classification dataset (13 classes, 6 HLS bands,
3 dates, 30 m). Trained for 60 epochs on a single NVIDIA A10G via Modal.
## Results (validation split)
| Metric | Epoch 29 | Epoch 39 | Epoch 49 |
| --- | --- | --- | --- |
| Loss | 1.242 | 1.245 | **1.231** |
| mIoU | 0.335 | **0.358** | 0.358 |
| F1 | 0.499 | **0.525** | 0.524 |
| Pixel accuracy | 0.508 | 0.533 | **0.535** |
## Files
- `multicrop_300m_tl/version_1/checkpoints/epoch=49.ckpt` - full Lightning checkpoint (best val loss)
- `multicrop_300m_tl/version_1/checkpoints/epoch=49_state_dict.ckpt` - model weights only
- `multicrop_300m_tl/version_1/*.yaml` - resolved training config
- `multicrop_300m_tl/version_1/events.out.tfevents.*` - TensorBoard logs
## Usage
```python
from terratorch.tasks import SemanticSegmentationTask
task = SemanticSegmentationTask.load_from_checkpoint(
"multicrop_300m_tl/version_1/checkpoints/epoch=49.ckpt",
map_location="cpu",
)
model = task.model.eval()
```
Reproduce with the training code: https://github.com/keya254/EO-Model-Prithvi
|