bstriner / keras-adversarial

Keras Generative Adversarial Networks
MIT License
867 stars 231 forks source link

Tensorflow issue #41

Closed frojasaracena closed 7 years ago

frojasaracena commented 7 years ago

Hi, I tried to run the AAE example but got an error when calling fit:

TypeError: run() got an unexpected keyword argument 'compile_kwargs'

I appreciate your help.

Felipe

cs2103t commented 7 years ago

Someone changed adversarial_model.py and changed the name of the argument for model.compile. All you need to do is to revert back to older version of adversarial_model.py. It took me so long to understand this was the cause of the error. The error messages from keras and tensorflow just dont help sometimes.

bstriner commented 7 years ago

@frojasaracena @cs2103t sorry didn't update the examples earlier after that change to the backend. Fix to aae examples is in master now. You can see the line below.

https://github.com/bstriner/keras-adversarial/commit/36f90f2e7f506a09da457b5c9d22d3073ae43339

Cheers