-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use SPy to train one model on multi images? #149
Comments
A brute force way to do this would be to ravel each image and groundtruth labels so they have shape If you are feeling more ambitious, you could create a |
Thanks for the response. I will try out your suggestion for wrapping the |
The methods I described above are iterating over pixels for training a model that does pixel-level classification. If you want to do classification of images (i.e., considering the spatial context of the spectra), then you need to load entire images (or regions of images) into memory so your convolutional layers can process the 3D data (rows, columns, & bands). You could simply load all of the images into memory (e.g., using the |
Hi there,
I'm new to hyperspectral image classification and find out SPy is really a useful tool. But I wonder how to use SPy to train one model on multi images, just like what usually do in RGB image classification.
Any information would be greatly appreciated.
Thx.
The text was updated successfully, but these errors were encountered: