0
    model=load_model("model.h5")

Anybody help to overcome this error while adding a saved neural network model in Django.

Vishnu
  • 34
  • 4
  • Is your model file placed in django's root folder? If not, give it an absolute path – lucutzu33 May 30 '21 at 20:17
  • yes it is in root folder – Vishnu May 30 '21 at 20:18
  • Check this: https://stackoverflow.com/questions/61699140/oserror-savedmodel-file-does-not-exist-at-dnn-mpg-model-h5-saved-model-pbt . See if it helps. – lucutzu33 May 30 '21 at 20:21
  • Does this answer your question? [OSError: SavedModel file does not exist at: ../dnn/mpg\_model.h5/{saved\_model.pbtxt|saved\_model.pb}](https://stackoverflow.com/questions/61699140/oserror-savedmodel-file-does-not-exist-at-dnn-mpg-model-h5-saved-model-pbt) – Hagbard Nov 16 '21 at 11:54

0 Answers0