In Keras,
I\'m trying to import _obtain_input_shape as follows:
_obtain_input_shape
from keras.applications.imagenet_utils import _obtain_input_shape
This issue occured because of the version of keras.
In my case, I was downgrade keras 2.2.2 to 2.2.0, and the problem was solved.