rcmalli / keras-vggface

VGGFace implementation with Keras Framework
MIT License
936 stars 419 forks source link

No module named 'keras_applications' in Colab #68

Open jam-iee opened 3 years ago

jam-iee commented 3 years ago

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
diogosilva30 commented 3 years ago

+1

diogosilva30 commented 3 years ago

Facing the same issue with Tensorflow 2.3.1

IqbalLx commented 3 years ago

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

erYash15 commented 3 years ago

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,