rcmalli / keras-vggface

VGGFace implementation with Keras Framework
MIT License
928 stars 417 forks source link

fix _obtain_input_shape namespace change #45

Closed datashinobi closed 5 years ago

datashinobi commented 5 years ago

fixes ImportError: cannot import name '_obtain_input_shape'

Change introduced in keras 2.2.2 where '_obtain_input_shape' is now in keras_application

plowman commented 5 years ago

Hey @rcmalli any chance you can merge this? Fwiw, it seems like this same bug is currently breaking CI tests here, which are then fixed in this PR.

bk521234 commented 5 years ago

was this merged into the package index install? I just pip install'ed and ran into this issue. This commit fixed the issue for me.