Browse Source

!17508 ManifestDataset got "No valid data" error msg with print file path

From: @xiefangqi
Reviewed-by: @heleiwang,@liucunwei
Signed-off-by: @liucunwei
tags/v1.3.0
mindspore-ci-bot Gitee 4 years ago
parent
commit
a050c265de
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/minddata/dataset/engine/datasetops/source/manifest_op.cc

+ 1
- 1
mindspore/ccsrc/minddata/dataset/engine/datasetops/source/manifest_op.cc View File

@@ -278,7 +278,7 @@ Status ManifestOp::CountDatasetInfo() {
num_rows_ = static_cast<int64_t>(image_labelname_.size());
if (num_rows_ == 0) {
RETURN_STATUS_UNEXPECTED(
"Invalid data, no valid data matching the dataset API ManifestDataset. Please check file path or dataset API.");
"Invalid data, no valid data matching the dataset API ManifestDataset. Please check file path: " + file_);
}
return Status::OK();
}


Loading…
Cancel
Save