Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

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

Open
shizhediao opened this issue Apr 12, 2018 · 3 comments
Open

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

shizhediao opened this issue Apr 12, 2018 · 3 comments

Comments

@shizhediao
Copy link

image

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

@qhduan
Copy link
Owner

qhduan commented Apr 13, 2018

测试命令大概是这样的:

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
Copy link

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

@Halcao
Copy link

Halcao commented May 30, 2018

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants