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

The file seq2seq_model.h5 isnt exist #33

Open
ghost opened this issue Jun 20, 2023 · 0 comments
Open

The file seq2seq_model.h5 isnt exist #33

ghost opened this issue Jun 20, 2023 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 20, 2023

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

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

0 participants