Skip to content

Change to relative path when loading weight

I have some issues when loading the model in a different repository than the original repository. It seems that the path was hardcoded: I changed this using importlib.

I also change the assert regarding the bands values which can be equal to 0 an equal to 1. I have some doubt about the <=1 condition, since reflectance can be slightly higher than one.

Merge request reports

Loading