gokriznastic / HybridSN

A keras based implementation of Hybrid-Spectral-Net as in IEEE GRSL paper "HybridSN: Exploring 3D-2D CNN Feature Hierarchy for Hyperspectral Image Classification".

Home Page:https://ieeexplore.ieee.org/document/8736016

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ValueError: Error when checking : expected input_1 to have shape (25, 25, 30, 1) but got array with shape (25, 24, 30, 1)

Lzyin opened this issue · comments

commented

Dataset is IP, the windowSize is set to 25, when i valiation this model, the error is reported . The error is lie in line 64:prediction = (model.predict(X_test_image))