SimGAN
SimGAN copied to clipboard
Incompatible with current version of Keras
Hi, I've found a couple of issues related to use of this code with Keras 2.2.4 in sim-gan.py that cause errors.
- Line 72 needs to be changed to
y = layers.merge.Add()([input_features, y])
- Line 177 needs to be changed to
data_format='channels_last')
Thanks for providing the code, it's very helpful.
Thanks a lot for providing the code. Very simple and easy to follow.
layers.merge
is no longer available in new versions of the keras.
So I changed layers.merge
to layers.Add
and it solved the version incompatibility issue. However, later it causes a 'shape miss match error between input_feature
and y
.
Any idea how to solve this?
P.S: I am using the .h5 files from the Kaggle repo so the size of input data is (55, 35) for both datasets.
Best, noushin