nasaharvest / presto

Lightweight, Pre-trained Transformers for Remote Sensing Timeseries
https://arxiv.org/abs/2304.14065
MIT License
151 stars 26 forks source link

Issues loading pretrained model #21

Open kvantricht opened 8 months ago

kvantricht commented 8 months ago

When I'm trying to install Presto as a package not in editable mode (e.g. to pack it to run on our cluster), I'm experiencing a couple of issues:

gabrieltseng commented 8 months ago

In addition to the fix in #22, I think it might make sense to move the weights into the presto folder - what do you think?

kvantricht commented 8 months ago

Yes I think that makes sense, although it needs to be tested if that would resolve the issue. Pathlike reference to package files doesn't always work on all systems.

gabrieltseng commented 8 months ago

Okay - I'll make this change (with some tests) in addition to the notes you left in #20 to a new PR