Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ModuleNotFoundError: No module named 'tensorflow.python.keras.applications'

I am trying to import

import tensorflow.python.keras.applications

but it gives the bellow error:

ModuleNotFoundError: No module named 'tensorflow.python.keras.applications'

my TensorFlow version is 2.8.0 and Keras version is 2.8.0

like image 658
asdfasdf Avatar asked Oct 17 '25 11:10

asdfasdf


1 Answers

Try using import keras.applications instead of import tensorflow.python.keras.applications

like image 92
Carlos Gómez Avatar answered Oct 20 '25 16:10

Carlos Gómez