IBM / terratorch

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

Trying to upgrade torchgeo #151

Closed Joao-L-S-Almeida closed 1 month ago

Joao-L-S-Almeida commented 1 month ago

torchgeo >= 0.6.0

CarlosGomes98 commented 1 month ago

The changes on requirements.txt are fine. But pyproject should try to be as lenient as possible so that terratorch plays nicely with as many libraries as possible. If a library out there requires torchgeo-0.5.2 for some reason, we would still like to be compatible with them. Basically it should have the lowest version we tolerate in order for all the functionalities to work. We should only change this part if we introduce a feature that really requires the newest torchgeo.

Like this, when someone installs terratorch, pip will install the newest possible torchgeo that is still compatible with all the other requirements the user has.

Joao-L-S-Almeida commented 1 month ago

@CarlosGomes98 Done.