Classification-of-Hyperspectral-Image
Classification-of-Hyperspectral-Image copied to clipboard
Classification of the Hyperspectral Image Indian Pines with Convolutional Neural Network
In the training of the CNN, the input is of size ```(5,5,30)``` instead of ```(30,5,5)``` and as a result the model handles the input as an image of size 30x5...
function: CreatetheDataSets.AugmentData ```python patch2 = flipped_patch X_train[i,:,:,:] = patch2 ``` These two lines of code are unnecessary as flipped_patch and X_train all point to the same object.
1. in [16] X,pca = applyPCA(X,numPCAcomponents) numPCAcomponents is 30 but applyPCA function takes numComponents=75 Please give difference between numPCAcomponents and numComponents Also how standartizeData function is used in the project
In TrainTheModel file Line number [5] # Reshape into (numberofsumples, channels, height, width) X_train = np.reshape(X_train, (X_train.shape[0],X_train.shape[3], X_train.shape[1], X_train.shape[2])) --------------------------------------------------------------------------- IndexError Traceback (most recent call last) in () 1 #...
Hi, thanks a lot for such a helpful repository. I see the code does not classify the marginal pixels when building the classification maps. Would you fix it later?
hello, I tried the code, the frist two-CreatetheDatasets and TrainTheModel all run successfully, but when I run the last code-validation, the sentence "file_name = 'report'+"WindowSize" + str(windowSize) + "PCA" +...