Browse Source

!6609 [MD] fix mindrecord log

Merge pull request !6609 from liyong126/fix_mindrecord_log
tags/v1.0.0
mindspore-ci-bot Gitee 5 years ago
parent
commit
f226789f82
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/minddata/mindrecord/meta/shard_header.cc

+ 1
- 1
mindspore/ccsrc/minddata/mindrecord/meta/shard_header.cc View File

@@ -118,7 +118,7 @@ std::pair<MSRStatus, json> ShardHeader::ValidateHeader(const std::string &path)

if (header_size > kMaxHeaderSize) {
fin.close();
MS_LOG(ERROR) << "Invalid file. path: " << path;
MS_LOG(ERROR) << "Invalid file content. path: " << path;
return {FAILED, json_header};
}



Loading…
Cancel
Save