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: _obtain_input_shape() got an unexpected keyword argument 'require_flatten' #2

Open
SherlockHua1995 opened this issue Sep 26, 2018 · 3 comments

Comments

@SherlockHua1995
Copy link

when i check the model graph, this error occurs:
TypeError: _obtain_input_shape() got an unexpected keyword argument 'require_flatten'
can u give me some advice?

@alyato
Copy link

alyato commented Jan 23, 2019

@SherlockHua1995
When i set data_augmentation = True, it show me an error TypeError: __init__() got an unexpected keyword argument 'validation_split'
Do you meet it?

@ashishpatel26
Copy link

This code was designed in keras 2.2.0.

pip install keras==2.2.0

@future-zy
Copy link

the reason is keras give up the file in keras . you can set up .py file with the code from :https://github.com/keras-team/keras-applications/blob/e52c477/keras_applications/imagenet_utils.py#L235-L331,and import .py into your main .

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

4 participants