keras-vggface
keras-vggface copied to clipboard
import keras_vggface raising lot of errors
Following exception raised even trying to import keras_vggface
import keras_vggface
Traceback (most recent call last):
File "
File "/Users/sanketpatel/anaconda3/lib/python3.11/site-packages/keras/init.py", line 3, in
This command will resolve that error.
pip install tensorflow keras_applications
But then you'll see:
ImportError: cannot import name 'layer_utils' from 'keras.utils' (/data/projects/visage-match/venv/lib/python3.10/site-packages/keras/utils/init.py)
This command will resolve that error.
pip install tensorflow keras_applications
But then you'll see:
ImportError: cannot import name 'layer_utils' from 'keras.utils' (/data/projects/visage-match/venv/lib/python3.10/site-packages/keras/utils/init.py)
having the same issue here, seems like keras depricated that in the newer version ( https://github.com/rcmalli/keras-vggface/issues/97 ). Couldn't get it to work though.