Relative Content

Tag Archive for pythontensorflowkerasartificial-intelligencepython-import

Import “keras.models” could not be resolved Pylance (reportMissingImports) (module) keras

I am trying to make an ASL sign-language to speech translator. I have a pre-trained model for this, which I had saved as an H5 file, and that I am trying to load using the load_model function imported from keras. I have the latest version of tensorflow installed (2.16.1), as well as python (3.12.4). I am using the main global environment to run my file in, and not a venv, but I have verified that keras and tensorflow both are in it (by running pip list in the terminal). This is my current import line: