IBM / terratorch

a Python toolkit for fine-tuning Geospatial Foundation Models (GFMs).
Apache License 2.0
151 stars 20 forks source link

Overwrite default prithvi #107

Closed Joao-L-S-Almeida closed 2 months ago

Joao-L-S-Almeida commented 2 months ago

This is a suggestion to more easily overwrite default options when instantiating Prithvi backbones, it means, user-defined parameters with the prefix "backbone" in the config YAML files can overwrite the default choices seen in methods as create_prithvi_* inside terratorch/models/backbones/prithvi_*.py. If it's approved, we can extend it to Swin and definely remove these replicated methods.