oswaldoludwig / Seq2seq-Chatbot-for-Keras

This repository contains a new generative model of chatbot based on seq2seq modeling.
Apache License 2.0
331 stars 98 forks source link

The file seq2seq_model.h5 isnt exist #33

Open ghost opened 1 year ago

ghost commented 1 year ago

when i tried to programm a chatbot for the fisrt time it gave me this error

Traceback (most recent call last): File "D:\Boody\Boody\VSCode\BeChat Chatbot\BeChat.py", line 5, in model = tf.keras.models.load_model('seq2seq_model.h5') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Boody\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\saving\saving_api.py", line 212, in load_model return legacy_sm_saving_lib.load_model( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Boody\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\utils\traceback_utils.py", line 70, in error_handler raise e.with_traceback(filtered_tb) from None File "C:\Users\Boody\AppData\Local\Programs\Python\Python311\Lib\site-packages\keras\saving\legacy\save.py", line 230, in load_model raise IOError( OSError: No file or directory found at seq2seq_model.h5

Here is a screenshot for the code image