提交 7c743047 编写于 作者: W wangyanfei01

follow comments: more readable LOG

上级 45bd0a5e
...@@ -48,9 +48,9 @@ Tester::Tester(const std::shared_ptr<TrainerConfigHelper>& config, ...@@ -48,9 +48,9 @@ Tester::Tester(const std::shared_ptr<TrainerConfigHelper>& config,
testDataProvider_(testDataProvider) { testDataProvider_(testDataProvider) {
if (config_->getOptConfig().use_sparse_remote_updater()) { if (config_->getOptConfig().use_sparse_remote_updater()) {
LOG(FATAL) << "It's prohibited to set sparse_remote_update " LOG(FATAL) << "It's prohibited to set sparse_remote_update "
<< "in some layers if testing will be under going " << "when doing train and test jobs in the same "
<< "in the middle of training. You can do testing " << "process. You could run paddle --job=test in "
<< "within separate process."; << "a separate process.";
} }
testEvaluator_.reset(gradientMachine_->makeEvaluator()); testEvaluator_.reset(gradientMachine_->makeEvaluator());
if (intconfig_->distributeTest) { if (intconfig_->distributeTest) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册