Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hi #1

Open
AbdishakurAbdiSaidAdan opened this issue Jul 13, 2022 · 3 comments
Open

hi #1

AbdishakurAbdiSaidAdan opened this issue Jul 13, 2022 · 3 comments

Comments

@AbdishakurAbdiSaidAdan
Copy link

AbdishakurAbdiSaidAdan commented Jul 13, 2022

I have downloaded all the requirements library but I can't run the program

this is the error
C:\Users\AbdiShakra\OneDrive\Documents\Diagnosticc-main>python server.py
Traceback (most recent call last):
File "C:\Users\AbdiShakra\OneDrive\Documents\Diagnosticc-main\server.py", line 4, in
import prediction
File "C:\Users\AbdiShakra\OneDrive\Documents\Diagnosticc-main\prediction.py", line 5, in
model = keras.models.load_model('model/CPN_Model.h5')
File "C:\Users\AbdiShakra\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\saving\save.py", line 205, in load_model
return saved_model_load.load(filepath, compile, options)
File "C:\Users\AbdiShakra\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\saving\saved_model\load.py", line 108, in load
meta_graph_def = tf.internal.saved_model.parse_saved_model(path).meta_graphs[0]
File "C:\Users\AbdiShakra\AppData\Local\Programs\Python\Python39\lib\site-packages\tensorflow\python\saved_model\loader_impl.py", line 118, in parse_saved_model
raise IOError(
OSError: SavedModel file does not exist at: model/CPN_Model.h5{saved_model.pbtxt|saved_model.pb}

so, please look into it.

@JuhieMotiani
Copy link
Owner

JuhieMotiani commented Jul 14, 2022 via email

@AbdishakurAbdiSaidAdan
Copy link
Author

AbdishakurAbdiSaidAdan commented Jul 14, 2022

Error Displaying

@AbdishakurAbdiSaidAdan
Copy link
Author

       PS C:\Users\AbdiShakra\OneDrive\Documents\Diagnosticc-main> python server.py
      Traceback (most recent call last):
     File "C:\Users\AbdiShakra\OneDrive\Documents\Diagnosticc-main\server.py", line 4, in <module>
     import prediction 
     File "C:\Users\AbdiShakra\OneDrive\Documents\Diagnosticc-main\prediction.py", line 5, in <module>
    model = keras.models.load_model("model/CPN_Model.h5")
   File "C:\Users\AbdiShakra\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\saving\save.py", line 205, in 
  load_model
 return saved_model_load.load(filepath, compile, options)
 File "C:\Users\AbdiShakra\AppData\Local\Programs\Python\Python39\lib\site-packages\keras\saving\saved_model\load.py", 
 line 108, in load
 meta_graph_def = tf.__internal__.saved_model.parse_saved_model(path).meta_graphs[0]
 File "C:\Users\AbdiShakra\AppData\Local\Programs\Python\Python39\lib\site- 
packages\tensorflow\python\saved_model\loader_impl.py", line 118, in parse_saved_model
raise IOError(
 OSError: SavedModel file does not exist at: model/CPN_Model.h5\{saved_model.pbtxt|saved_model.pb}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants