From 425fdc8beb014cf6b433fe448c106c84a934566b Mon Sep 17 00:00:00 2001 From: xiefangqi Date: Tue, 9 Mar 2021 21:22:04 +0800 Subject: [PATCH] fix batch log level --- .../ccsrc/minddata/dataset/engine/datasetops/batch_op.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_op.cc b/mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_op.cc index 7f1e8595e4..b767d53b1a 100644 --- a/mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_op.cc +++ b/mindspore/ccsrc/minddata/dataset/engine/datasetops/batch_op.cc @@ -388,8 +388,8 @@ Status BatchOp::InvokeBatchMapFunc(TensorTable *input, TensorTable *output, CBat TensorRow output_batch; // If user returns a type that is neither a list nor an array, issue a error msg. if (!py::isinstance(ret_tuple[i])) { - MS_LOG(ERROR) << "column: " << out_col_names_[i] - << " returned by per_batch_map is not a list, this could lead to conversion failure."; + MS_LOG(INFO) << "column: " << out_col_names_[i] + << " returned by per_batch_map is not a list, this could lead to conversion failure."; } py::list output_list = py::cast(ret_tuple[i]);