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

TypeError: super() takes at least 1 argument (0 given) #3

Open
gracecalvertyoung opened this issue Jan 8, 2018 · 1 comment
Open

Comments

@gracecalvertyoung
Copy link

Running the example (AlexNet.py) I get the error "TypeError: super() takes at least 1 argument (0 given" from the line "model = Model(input_shape=(224, 224, 3))." Any ideas?

@yu4u
Copy link
Owner

yu4u commented Jan 8, 2018

It is because Python 2.x had not been supported at that time.
I modified my code to support Python 2.x, and thus now you should not get the error.

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

2 participants