-
Notifications
You must be signed in to change notification settings - Fork 1k
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
如果app.py放在web里面就无法运行,拿出来之后error calling function #158
Comments
拿出来之后: |
缺少model_data./pt |
这个model_data./pt怎么搞呢 |
Traceback (most recent call last):
File "/Users/ricepudding/Desktop/chatbot-master-2/Chatbot_pytorch/Seq2seqchatbot/web/app.py", line 5, in
import execute
File "/Users/ricepudding/Desktop/chatbot-master-2/Chatbot_pytorch/Seq2seqchatbot/execute.py", line 81, in
input_tensor,input_lang,target_tensor,target_lang= read_data(gConfig['seq_data'], gConfig['max_train_data_size'])
File "/Users/ricepudding/Desktop/chatbot-master-2/Chatbot_pytorch/Seq2seqchatbot/execute.py", line 74, in read_data
input_lang,target_lang,pairs=create_dataset(path,num_examples)
File "/Users/ricepudding/Desktop/chatbot-master-2/Chatbot_pytorch/Seq2seqchatbot/execute.py", line 25, in create_dataset
lines = io.open(path, encoding='UTF-8').read().strip().split('\n')
FileNotFoundError: [Errno 2] No such file or directory: 'train_data/seq.data'
The text was updated successfully, but these errors were encountered: