You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have been trying to familiarize myself with the library. However, I encountered a problem.
The spectral library calls SetClientSizeWH. If the call is changed to SetClientSize, the error does not occur anymore, but others are raised. I therefore assume that the library versions I am using are incompatible with each other. But which combination works?
view_indexed is now deprecated (I should add a warning for that). Please use the display functions here. So in your case, you would want to do something like
import spectral as spy
gt = img.read_band(0)
spy.imshow(classes=gt, interpolation='nearest')
Note that the classes keyword is primarily intended for displaying ground truth or classification masks (not actual image data).
Hello, I have been trying to familiarize myself with the library. However, I encountered a problem.
The spectral library calls SetClientSizeWH. If the call is changed to SetClientSize, the error does not occur anymore, but others are raised. I therefore assume that the library versions I am using are incompatible with each other. But which combination works?
Code
Error message
Technical details
Dependency Versions
The text was updated successfully, but these errors were encountered: