I am doing some task related to image captioning and I have loaded the weights of inception model like this
model = InceptionV3(weights=\'imagenet\')
Change
Import keras..
to
Import tensorflow.keras..
where "something" refers to the module you want to import. It worked for me.