Closed Satan012 closed 5 years ago
I have the same problem.
你知道怎么用t2t-trainer吗,这是一条命令吗
孙铭声 邮箱:15688915832@163.com |
---|
签名由 网易邮箱大师 定制
On 12/18/2018 22:02, Chan Yu wrote:
I have the same problem.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Description
when i use command from tensor2tensor import problems, there are two kinds of warning will be showed in the console. 1、eprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec() return _inspect.getargspec(target)
2、ImportWarning: can't resolve package from spec or package, falling back on name and path return f(*args, **kwds)
and when i use problem.generate_data(data_dir, tmp_dir) to generate tfrecord files for cnn_dailymail problem, it failed.
Environment information
For bugs: reproduction and error logs
`from tensor2tensor import problems
data_dir = 'F:\sunmingsheng\Datasets\tensor2tensnor\cnn_daily\data' tmp_dir = 'F:\sunmingsheng\Datasets\tensor2tensnor\cnn_daily\tmp' problem = problems.problem('summarize_cnn_dailymail32k') problem.generate_data(data_dir, tmp_dir)`