ibm-nasa-geospatial/Prithvi-100M-multi-temporal-crop-classification

Model

51

stars

32

commits

1

repos using this model

2

linked in READMEs

Sep 5, 2025

updated

Crop Classification
Foundation model
Geospatial
image-segmentation
mmsegmentation
Multi Temporal
Pytorch
segmentation
terratorch
Browse cluster: Foundation models for geospatial and remote sensing

README

Model and Inputs

The pretrained Prithvi-EO-1.0-100M parameter model is finetuned to classify crop and other land cover types based off HLS data and CDL labels from the multi_temporal_crop_classification dataset.

This dataset includes input chips of 224x224x18, where 224 is the height and width and 18 is combined with 6 bands of 3 time-steps. The bands are:

  1. Blue
  2. Green
  3. Red
  4. Narrow NIR
  5. SWIR 1
  6. SWIR 2

Labels are from CDL(Crop Data Layer) and classified into 13 classes.

The Prithvi-100m model was initially pretrained using a sequence length of 3 timesteps. For this task, we leverage the capacity for multi-temporal data input, which has been integrated from the foundational pretrained model. This adaptation allows us to achieve more generalized finetuning outcomes.

Code

Code for Finetuning is available through github

Configuration used for finetuning is available through config.

Results

The experiment by running the mmseg stack for 80 epochs using the above config led to the following result:

ClassesIoUAcc
Natural Vegetation0.403846.89%
Forest0.474766.38%
Corn0.549165.47%
Soybeans0.529767.46%
Wetlands0.40258.91%
Developed/Barren0.361156.49%
Open Water0.680490.37%
Winter Wheat0.496767.16%
Alfalfa0.308466.75%
Fallow/Idle Cropland0.349359.23%
Cotton0.323766.94%
Sorghum0.328373.56%
Other0.342747.12%
aAccmIoUmAcc
60.64%0.426964.06%

It is important to acknowledge that the CDL (Crop Data Layer) labels employed in this process are known to contain noise and are not entirely precise, thereby influencing the model's performance. Fine-tuning the model with more accurate labels is expected to further enhance its overall effectiveness, leading to improved results.

Baseline

The baseline model along with its results can be accessed here.

Inference

The github repo includes an inference script that allows to run the hls-cdl crop classification model for inference on HLS images. These input have to be geotiff format, including 18 bands for 3 time-step, and each time-step includes the channels described above (Blue, Green, Red, Narrow NIR, SWIR, SWIR 2) in order. There is also a demo that leverages the same code here.

Feedback

Your feedback is invaluable to us. If you have any feedback about the model, please feel free to share it with us. You can do this by submitting issues on our open-source repository, hls-foundation-os, on GitHub.

Citation

If this model helped your research, please cite HLS Multi Temporal Crop Classification Model in your publications. Here is an example BibTeX entry:

@misc{hls-multi-temporal-crop-classification-model,
    author = {Li, Hanxi (Steve) and Khallaghi, Sam and Cecil, Michael and Kordi, Fatemeh and Fraccaro, Paolo and Alemohammad, Hamed and Ramachandran, Rahul},
    doi    = { 10.57967/hf/0954 },
    month  = aug,
    title  = {{HLS Multi Temporal Crop Classification Model}},
    url    = {https://huggingface.co/ibm-nasa-geospatial/Prithvi-100M-multi-temporal-crop-classification},
    year   = {2023}
}

Contributors

Paolo-Fraccaro

10 commits

hanxLi

9 commits

Muthukumaran

4 commits

carlosgomes98

3 commits

ibm-nasa-geospatial/Prithvi-100M-multi-temporal-crop-classification

Model

51

stars

32

commits

1

repos using this model

2

linked in READMEs

Sep 5, 2025

updated

Crop Classification
Foundation model
Geospatial
image-segmentation
mmsegmentation
Multi Temporal
Pytorch
segmentation
terratorch
Browse cluster: Foundation models for geospatial and remote sensing

README

Model and Inputs

The pretrained Prithvi-EO-1.0-100M parameter model is finetuned to classify crop and other land cover types based off HLS data and CDL labels from the multi_temporal_crop_classification dataset.

This dataset includes input chips of 224x224x18, where 224 is the height and width and 18 is combined with 6 bands of 3 time-steps. The bands are:

  1. Blue
  2. Green
  3. Red
  4. Narrow NIR
  5. SWIR 1
  6. SWIR 2

Labels are from CDL(Crop Data Layer) and classified into 13 classes.

The Prithvi-100m model was initially pretrained using a sequence length of 3 timesteps. For this task, we leverage the capacity for multi-temporal data input, which has been integrated from the foundational pretrained model. This adaptation allows us to achieve more generalized finetuning outcomes.

Code

Code for Finetuning is available through github

Configuration used for finetuning is available through config.

Results

The experiment by running the mmseg stack for 80 epochs using the above config led to the following result:

ClassesIoUAcc
Natural Vegetation0.403846.89%
Forest0.474766.38%
Corn0.549165.47%
Soybeans0.529767.46%
Wetlands0.40258.91%
Developed/Barren0.361156.49%
Open Water0.680490.37%
Winter Wheat0.496767.16%
Alfalfa0.308466.75%
Fallow/Idle Cropland0.349359.23%
Cotton0.323766.94%
Sorghum0.328373.56%
Other0.342747.12%
aAccmIoUmAcc
60.64%0.426964.06%

It is important to acknowledge that the CDL (Crop Data Layer) labels employed in this process are known to contain noise and are not entirely precise, thereby influencing the model's performance. Fine-tuning the model with more accurate labels is expected to further enhance its overall effectiveness, leading to improved results.

Baseline

The baseline model along with its results can be accessed here.

Inference

The github repo includes an inference script that allows to run the hls-cdl crop classification model for inference on HLS images. These input have to be geotiff format, including 18 bands for 3 time-step, and each time-step includes the channels described above (Blue, Green, Red, Narrow NIR, SWIR, SWIR 2) in order. There is also a demo that leverages the same code here.

Feedback

Your feedback is invaluable to us. If you have any feedback about the model, please feel free to share it with us. You can do this by submitting issues on our open-source repository, hls-foundation-os, on GitHub.

Citation

If this model helped your research, please cite HLS Multi Temporal Crop Classification Model in your publications. Here is an example BibTeX entry:

@misc{hls-multi-temporal-crop-classification-model,
    author = {Li, Hanxi (Steve) and Khallaghi, Sam and Cecil, Michael and Kordi, Fatemeh and Fraccaro, Paolo and Alemohammad, Hamed and Ramachandran, Rahul},
    doi    = { 10.57967/hf/0954 },
    month  = aug,
    title  = {{HLS Multi Temporal Crop Classification Model}},
    url    = {https://huggingface.co/ibm-nasa-geospatial/Prithvi-100M-multi-temporal-crop-classification},
    year   = {2023}
}

Contributors

Paolo-Fraccaro

10 commits

hanxLi

9 commits

Muthukumaran

4 commits

carlosgomes98

3 commits