please open imageImportError Traceback (most recent call last) in cell 12 ImportError: cannot import name 'Input' from 'keras.models' (C:\Users\91626\AppData\Roaming\Python\Python39\site-packages\keras\models_init_.py)
Asked
Active
Viewed 531 times
-2
1 Answers
1
I think it should be:
from tensorflow.keras.layers import Input
or
from tensorflow.python.keras.models import Input

Talha Tayyab
- 8,111
- 25
- 27
- 44