YonghaoXu / SSUN

[IEEE TGRS 2018] Spectral-Spatial Unified Networks for Hyperspectral Image Classification
MIT License
70 stars 30 forks source link

The `pool_size` argument must be a tuple of 2 integers. Received: (1, 2, 2) #9

Open sandeep-25 opened 4 years ago

sandeep-25 commented 4 years ago

Dear Yonghao. I am getting the error "The pool_size argument must be a tuple of 2 integers. Received: (1, 2, 2)" while using your function MCNN_RS.

YonghaoXu commented 4 years ago

Hi, the code is now updated with the Keras 2.2.4 using the Tensorflow backend engine. This error is fixed now.