提交 0975df30 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!3540 [MD]fix error message when file exists.

Merge pull request !3540 from liyong126/fix_mindrecord_log
......@@ -83,7 +83,7 @@ MSRStatus ShardWriter::OpenDataFiles(bool append) {
// if not append and mindrecord file exist, return FAILED
fs->open(common::SafeCStr(file), std::ios::in | std::ios::binary);
if (fs->good()) {
MS_LOG(ERROR) << "MindRecord file already existed.";
MS_LOG(ERROR) << "MindRecord file already existed, please delete file: " << common::SafeCStr(file);
fs->close();
return FAILED;
}
......
......@@ -1082,7 +1082,7 @@ class Dataset:
- None
- Not support
* - DE_FLOAT16
- float32
- Not support
-
* - DE_FLOAT32
- float32
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册