Question: I am getting this error 

I have installed keras and other required libraries but don't know why this error is coming

```
from keras.applications import MobileNet

```

> 
> ImportError: cannot import name 'MobileNet'.
> 
> 
>

Answer: 
You should import it as `from keras.applications.mobilenet import MobileNet`.
I found the answer,If we are using Keras 2.2.0 version, then we will not find the applications module inside keras installed directory. Keras has externalized the applications module to a separate directory called keras\_applications from where all the pre-trained models will now get imported.