Using this model for inference
Hi there, I was just wondering how this model can be used for inference. I have tried to do this using a sample image from BigEarthNet 2 - I used the stack_and_interpolate method (found in reben-training-scripts-main) to stack the bands to a 3D tensor based on the order of the bands and ensured that the resultant tensor matched the 120x120 dimensions and 10 channels expected by the model. However, the model still does not return the correct classes for the images that I input. I would be very grateful for any help with this matter.
Hello,
We added a minimal example code snipped to the official repository on how to infer a batch here. It is based on the official code that evaluates the pre-trained models on the BigEarthNetv2.0 dataset that you can also find in the official repository. I hope this resolves the problem.