提交 4de8ca61 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!309 Avoid raise file not found error in graph mode of dataset.

Merge pull request !309 from yuximiao/master
......@@ -81,7 +81,7 @@ class MinddataParser:
minddata_aicpu_source_path = get_file_join_name(
input_path=os.path.join(source_path, "data"), file_name='DATA_PREPROCESS.dev.AICPUMI')
if not minddata_aicpu_source_path:
raise RuntimeError("Fail to get AICPUMI file.")
return
minddata_aicpu_output_path = os.path.join(output_path, "minddata_aicpu_" + device_id + ".txt")
minddata_aicpu_data = MinddataParser.parse_minddata_aicpu_data(minddata_aicpu_source_path)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册