Home
last modified time | relevance | path

Searched refs:CV1_FILE_NAME (Results 1 – 3 of 3) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_minddataset_exception.py25 CV1_FILE_NAME = "./imagenet1.mindrecord" variable
47 if os.path.exists(CV1_FILE_NAME):
48 os.remove(CV1_FILE_NAME)
49 if os.path.exists("{}.db".format(CV1_FILE_NAME)):
50 os.remove("{}.db".format(CV1_FILE_NAME))
51 writer = FileWriter(CV1_FILE_NAME, files_num)
64 if os.path.exists(CV1_FILE_NAME):
65 os.remove(CV1_FILE_NAME)
66 if os.path.exists("{}.db".format(CV1_FILE_NAME)):
67 os.remove("{}.db".format(CV1_FILE_NAME))
[all …]
Dtest_minddataset.py35 CV1_FILE_NAME = "../data/mindrecord/imagenet1.mindrecord" variable
668 if os.path.exists(CV1_FILE_NAME):
669 os.remove(CV1_FILE_NAME)
670 if os.path.exists("{}.db".format(CV1_FILE_NAME)):
671 os.remove("{}.db".format(CV1_FILE_NAME))
676 writer = FileWriter(CV1_FILE_NAME, 1)
699 …= ds.MindDataset([CV_FILE_NAME + str(x) for x in range(FILES_NUM)] + [CV1_FILE_NAME, CV2_FILE_NAME…
717 if os.path.exists(CV1_FILE_NAME):
718 os.remove(CV1_FILE_NAME)
719 if os.path.exists("{}.db".format(CV1_FILE_NAME)):
[all …]
Dtest_minddataset_padded.py32 CV1_FILE_NAME = "../data/mindrecord/imagenet1.mindrecord" variable