未验证 提交 40283138 编写于 作者: X Xiaoyao Xi 提交者: GitHub

Update match.py

上级 796914ef
...@@ -39,7 +39,7 @@ class Reader(reader): ...@@ -39,7 +39,7 @@ class Reader(reader):
if phase == 'train': if phase == 'train':
self._input_file = config['train_file'] self._input_file = config['train_file']
self._num_epochs = None # 防止iteartor终止 self._num_epochs = None # 防止iteartor终止
self._shuffle = config.get('shuffle', False) self._shuffle = config.get('shuffle', True)
self._shuffle_buffer = config.get('shuffle_buffer', 5000) self._shuffle_buffer = config.get('shuffle_buffer', 5000)
elif phase == 'eval': elif phase == 'eval':
self._input_file = config['dev_file'] self._input_file = config['dev_file']
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册