未验证 提交 320aa49a 编写于 作者: S Steffy-zxf 提交者: GitHub

Fix typo (#779)

上级 27e500be
......@@ -108,4 +108,4 @@ if __name__ == '__main__':
return_result=True,
accelerate_mode=True)
for index, text in enumerate(text_pairs):
print("data: %s, preidction_label: %s" % (text, results[index]))
print("data: %s, prediction_label: %s" % (text, results[index]))
......@@ -93,4 +93,4 @@ if __name__ == '__main__':
return_result=True,
accelerate_mode=False)
for index, text in enumerate(text_pairs):
print("data: %s, preidction_label: %s" % (text, results[index]))
print("data: %s, prediction_label: %s" % (text, results[index]))
......@@ -105,4 +105,4 @@ if __name__ == '__main__':
return_result=True,
accelerate_mode=True)
for index, text in enumerate(text_pairs):
print("data: %s, preidction_label: %s" % (text, results[index]))
print("data: %s, prediction_label: %s" % (text, results[index]))
......@@ -90,4 +90,4 @@ if __name__ == '__main__':
return_result=True,
accelerate_mode=False)
for index, text in enumerate(text_pairs):
print("data: %s, preidction_label: %s" % (text, results[index]))
print("data: %s, prediction_label: %s" % (text, results[index]))
......@@ -47,7 +47,12 @@ class RunConfig(object):
self._checkpoint_dir = checkpoint_dir
self._num_epoch = num_epoch
self._batch_size = batch_size
self._use_pyreader = use_pyreader
if not use_pyreader:
logger.warning(
"The parameter use_pyreader has been dropped! PaddleHub over v1.8.0 will use pyreader by default."
)
self._use_pyreader = True
self._use_data_parallel = use_data_parallel
if strategy is None:
self._strategy = DefaultStrategy()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册