qhduan / Seq2Seq_Chatbot_QA

使用TensorFlow实现的Sequence to Sequence的聊天机器人模型
793 stars 275 forks source link

没有./model/model1/model文件夹? #21

Open shizhediao opened 6 years ago

shizhediao commented 6 years ago

image

错误信息:NotFoundError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ./model/model1/model 前四步已经执行完成 训练完整 查看了一下model1文件夹,下面是很多单个的文件 本来就没有./model/model1/model文件夹。。。 求教哪里错了,谢谢!

qhduan commented 6 years ago

测试命令大概是这样的:

python3 s2s.py \
--size 1024 \
--num_layers 2 \
--num_epoch 5 \
--batch_size 64 \
--num_per_epoch 500000 \
--test true \
--model_dir ./model/model1

如果你训练的时候修改了model_dir,测试的时候也需要修改

Asia-king commented 6 years ago

你好,你这个问题最后咋解决的,我也遇到了

Halcao commented 6 years ago

@Asia-king 把 s2s.py 里的模型名字改成 model-1 就好了