Open AbdishakurAbdiSaidAdan opened 2 years ago
Hello,
Could you please send me the screenshot of the error. I will look into it.
On Wed, Jul 13, 2022 at 2:31 PM abdishakur abdi said < @.***> wrote:
I have downloaded all the requirements library but I can't run the program
this is the error OSError: SavedModel file does not exist at: model/CPN_Model.h5{saved_model.pbtxt|saved_model.pb}
so, please look into it.
— Reply to this email directly, view it on GitHub https://github.com/JuhieMotiani/Diagnosticc/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP23Y6N53NLKVTNN34RNGH3VT2AU7ANCNFSM53N56V5Q . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Error Displaying
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}
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.