可以尝试检查一下传进去的是不是一个文件目录,而不是一个文件名
比如
data_shell_gen_noIP_rmstopwords文件夹下的decoder-test.json.seq2seq文件
传入data_shell_gen_noIP_rmstopword会报错,要传data_shell_gen_noIP_rmstopword/decoder-test.json.seq2seq
可以尝试检查一下传进去的是不是一个文件目录,而不是一个文件名
比如
data_shell_gen_noIP_rmstopwords文件夹下的decoder-test.json.seq2seq文件
传入data_shell_gen_noIP_rmstopword会报错,要传data_shell_gen_noIP_rmstopword/decoder-test.json.seq2seq

被折叠的 条评论
为什么被折叠?