Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Keras 2.2.0 #60

Open
SnowMasaya opened this issue Jun 24, 2018 · 9 comments
Open

Issues with Keras 2.2.0 #60

SnowMasaya opened this issue Jun 24, 2018 · 9 comments

Comments

@SnowMasaya
Copy link

It seems that there are some issues with the latest version of Keras 2.2.0

I try to use keras-adversarial with kears 2.2.0 but it doesen't work.

Traceback (most recent call last):
File "example_gan_convolutional.py", line 109, in <module>
player_names=["generator", "discriminator"])
File "C:\Users\MasayaOgushi\Anaconda3\envs\deep-learning-keras\lib\site-packages\keras_adversarial\adversarial_model.py", line 47, in init
self.layers = []
File "C:\Users\MasayaOgushi\Anaconda3\envs\deep-learning-keras\lib\site-packages\keras\engine\network.py", line 323, in setattr
super(Network, self).setattr(name, value)
AttributeError: can't set attribute

Any help? is this going to be fixed? Thanks

@sukhadj
Copy link

sukhadj commented Jun 30, 2018

I am getting the same issue.

@mValentino91
Copy link

I got the same problem using Keras 2.2.0. It seems to be an error caused by some incompatibilities. I tried out keras-adversarial with Keras 2.1.2 and it works.

@sukhadj
Copy link

sukhadj commented Jul 12, 2018

It worked for me when I install it by cloning the repository. The pip version has different adversarial_model.py than repo.

@ussaema
Copy link

ussaema commented Jul 19, 2018

@sukhadj so it worked with keras 2.2.0 for you ?

@sukhadj
Copy link

sukhadj commented Jul 20, 2018

@ussaema No it isn't working with keras 2.2.0. I was getting the same issues with keras 2.1.2 also.Hence I tried installing it through repo. But its not working with 2.2.0 whatsoever.

@yxhhh
Copy link

yxhhh commented Nov 15, 2018

I have the same problem. Have you solved it?

@ussaema
Copy link

ussaema commented Nov 16, 2018

I am not using this module anymore. I created my own module for GANs for Kreas 2.2.x. check https://github.com/ussaema/Vector_Matrix_CapsuleGAN

@bonorico
Copy link

Hi, same issue here running 'example_gan.py' with python2.7 and
Keras 2.2.4
keras-adversarial 0.0.3
Keras-Applications 1.0.7
Keras-Preprocessing 1.0.9

in virtualenv. OS: Ubuntu 18.4. I typically get the error by attempting to set up AdversarialModel().

@945226956
Copy link

really hop to fix it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants