Replies: 1 comment 2 replies
-
In your example code you are just loading the pretrained encoder weights with a random init head. The numbers you're referencing are achieved by fine-tuning on the dataset. I don't believe we save the weights with the head anywhere. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to load a model checkpoint and use it for inference via a ClassificationTask and and Trainer like so. The model appears untrained though even though I am loading weights that appear to have benchmarks performing above 90% total accuracy associated with them: https://torchgeo.readthedocs.io/en/stable/api/models.html#sentinel-2 I assume I'm doing something incorrect but I can't find info on how to use torchgeo to run just the inference pipeline with the correct transforms.
My torchgeo version is v0.5.2
Beta Was this translation helpful? Give feedback.
All reactions