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

Undocumented but needed function argument 'backend' #59

Closed
krikru opened this issue Aug 9, 2019 · 2 comments
Closed

Undocumented but needed function argument 'backend' #59

krikru opened this issue Aug 9, 2019 · 2 comments

Comments

@krikru
Copy link

krikru commented Aug 9, 2019

I'm now getting the error message

AttributeError: 'NoneType' object has no attribute 'image_data_format'

on this line. It appears that a backend argument needs to be provided when creating EfficientNet through any of the EfficientNetB* functions, but this is an undocumented argument as far as I can see.

What value should be provided for it?

@qubvel
Copy link
Owner

qubvel commented Aug 9, 2019

README. use efficientnet.keras/tf.keras submodules, this modules inserts in kwargs.

@krikru
Copy link
Author

krikru commented Aug 12, 2019

Thanks; changing from the efficientnet.model submodule to the efficientnet.keras submodule did the trick.

@qubvel qubvel closed this as completed Aug 28, 2019
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