rcmalli/keras-vggface

No module named 'keras_applications' in Colab

jam-iee opened this issue · 4 comments

Please run this code and share your library versions

import tensorflow as tf
import keras

print(tf.__version__)
print(keras.__version__)

tf version: 2.3.0
keras version: 2.4.3

Bug reports:

ModuleNotFoundError: No module named 'keras_applications'

Code Sample:

!git clone https://github.com/rcmalli/keras-vggface.git
cd /content/keras-vggface
!ls
from keras_vggface.vggface import VGGFace   # <--------error

Facing the same issue with Tensorflow 2.3.1

try to !pip install keras_applications
just tried to install keras_vggface on TF nightly gpu, failed at first due to missing keras_applications, but now just working fine

In addition to keras_applications. You also have to install this package use "!pip install keras_vggface".

https://stackoverflow.com/questions/50850216/google-colab-install-from-github-glrm for more info,