/third_party/mindspore/tests/ut/cpp/dataset/ |
D | c_api_dataset_div2k_test.cc | 29 std::string dataset_path = datasets_root_path_ + "/testDIV2KData/div2k"; in TEST_F() local 35 std::shared_ptr<Dataset> ds = DIV2K(dataset_path, usage, downgrade, scale); in TEST_F() 66 std::string dataset_path = datasets_root_path_ + "/testDIV2KData/div2k"; in TEST_F() local 73 DIV2K(dataset_path, usage, downgrade, scale, false, std::make_shared<RandomSampler>(false, 2)); in TEST_F() 75 DIV2K(dataset_path, usage, downgrade, scale, false, std::make_shared<RandomSampler>(false, 3)); in TEST_F() 124 std::string dataset_path = datasets_root_path_ + "/testDIV2KData/div2k"; in TEST_F() local 131 DIV2K(dataset_path, usage, downgrade, scale, false, std::make_shared<RandomSampler>(false, 2)); in TEST_F() 133 DIV2K(dataset_path, usage, downgrade, scale, false, std::make_shared<RandomSampler>(false, 3)); in TEST_F() 148 std::string dataset_path = datasets_root_path_ + "/testDIV2KData/div2k"; in TEST_F() local 154 …std::shared_ptr<Dataset> ds = DIV2K(dataset_path, usage, downgrade, scale, true, std::make_shared<… in TEST_F() [all …]
|
D | c_api_dataset_cityscapes_test.cc | 32 std::string dataset_path = datasets_root_path_ + "/testCityscapesData/cityscapes"; in TEST_F() local 38 std::shared_ptr<Dataset> ds = Cityscapes(dataset_path, usage, quality_mode, task); in TEST_F() 68 std::string dataset_path = datasets_root_path_ + "/testCityscapesData/cityscapes"; in TEST_F() local 74 …Cityscapes(dataset_path, usage, quality_mode, "color", false, std::make_shared<RandomSampler>(fals… in TEST_F() 76 …Cityscapes(dataset_path, usage, quality_mode, "color", false, std::make_shared<RandomSampler>(fals… in TEST_F() 125 std::string dataset_path = datasets_root_path_ + "/testCityscapesData/cityscapes"; in TEST_F() local 132 …Cityscapes(dataset_path, usage, quality_mode, task, false, std::make_shared<RandomSampler>(false, … in TEST_F() 133 std::shared_ptr<Dataset> ds2 = Cityscapes(dataset_path, usage, quality_mode, task); in TEST_F() 150 std::string dataset_path = datasets_root_path_ + "/testCityscapesData/cityscapes/testTaskJson"; in TEST_F() local 155 std::shared_ptr<Dataset> ds = Cityscapes(dataset_path, usage, quality_mode, task); in TEST_F() [all …]
|
D | c_api_dataset_flickr_test.cc | 29 std::string dataset_path = datasets_root_path_ + "/testFlickrData/flickr30k/flickr30k-images"; in TEST_F() local 33 std::shared_ptr<Dataset> ds = Flickr(dataset_path, file_path); in TEST_F() 62 std::string dataset_path = datasets_root_path_ + "/testFlickrData/flickr30k/flickr30k-images"; in TEST_F() local 66 std::shared_ptr<Dataset> ds1 = Flickr(dataset_path, file_path); in TEST_F() 67 std::shared_ptr<Dataset> ds2 = Flickr(dataset_path, file_path); in TEST_F() 116 std::string dataset_path = datasets_root_path_ + "/testFlickrData/flickr30k/flickr30k-images"; in TEST_F() local 121 std::shared_ptr<Dataset> ds1 = Flickr(dataset_path, file_path1); in TEST_F() 122 std::shared_ptr<Dataset> ds2 = Flickr(dataset_path, file_path2); in TEST_F() 137 std::string dataset_path = datasets_root_path_ + "/testFlickrData/flickr30k/flickr30k-images"; in TEST_F() local 139 std::shared_ptr<Dataset> ds = Flickr(dataset_path, file_path); in TEST_F() [all …]
|
D | jieba_tokenizer_op_test.cc | 39 std::string dataset_path = datasets_root_path_ + "/jiebadict"; in TEST_F() local 40 std::string hmm_path = dataset_path + "/hmm_model.utf8"; in TEST_F() 41 std::string mp_path = dataset_path + "/jieba.dict.utf8"; in TEST_F() 63 std::string dataset_path = datasets_root_path_ + "/jiebadict"; in TEST_F() local 64 std::string hmm_path = dataset_path + "/hmm_model.utf8"; in TEST_F() 65 std::string mp_path = dataset_path + "/jieba.dict.utf8"; in TEST_F() 82 std::string dataset_path = datasets_root_path_ + "/jiebadict"; in TEST_F() local 83 std::string hmm_path = dataset_path + "/hmm_model.utf8"; in TEST_F() 84 std::string mp_path = dataset_path + "/jieba.dict.utf8"; in TEST_F()
|
D | voc_op_test.cc | 45 std::string dataset_path; in TEST_F() local 46 dataset_path = datasets_root_path_ + "/testVOC2012"; in TEST_F() 48 VOC(dataset_path, "Detection", "train", {}, false, std::make_shared<SequentialSampler>(0, 0)); in TEST_F() 68 std::string dataset_path; in TEST_F() local 69 dataset_path = datasets_root_path_ + "/testVOC2012"; in TEST_F() 71 … VOC(dataset_path, "Segmentation", "train", {}, false, std::make_shared<SequentialSampler>(0, 0)); in TEST_F() 91 std::string dataset_path; in TEST_F() local 92 dataset_path = datasets_root_path_ + "/testVOC2012"; in TEST_F() 98 …VOC(dataset_path, "Detection", "train", class_index, false, std::make_shared<SequentialSampler>(0,… in TEST_F()
|
D | tfReader_op_test.cc | 40 std::string dataset_path; in TEST_F() local 41 dataset_path = datasets_root_path_ + "/testTFTestAllTypes/test.data"; in TEST_F() 47 std::vector<std::string> files = {dataset_path}; in TEST_F() 97 std::string dataset_path; in TEST_F() local 98 dataset_path = datasets_root_path_ + "/testTFTestAllTypes/test.data"; in TEST_F() 106 std::vector<std::string> files = {dataset_path}; in TEST_F() 154 std::string dataset_path; in TEST_F() local 155 dataset_path = datasets_root_path_ + "/testTFTestAllTypes/test.data"; in TEST_F() 161 std::vector<std::string> files = {dataset_path}; in TEST_F() 211 std::string dataset_path; in TEST_F() local [all …]
|
D | shuffle_op_test.cc | 54 std::string dataset_path; in TEST_F() local 55 dataset_path = datasets_root_path_ + "/testDataset1/testDataset1.data"; in TEST_F() 60 std::vector<std::string> files = {dataset_path}; in TEST_F() 126 std::string dataset_path; in TEST_F() local 127 dataset_path = datasets_root_path_ + "/testDataset1/testDataset1.data"; in TEST_F() 131 std::vector<std::string> files = {dataset_path}; in TEST_F() 196 std::string dataset_path; in TEST_F() local 197 dataset_path = datasets_root_path_ + "/testDataset1/testDataset1.data"; in TEST_F() 201 std::vector<std::string> files = {dataset_path}; in TEST_F() 268 std::string dataset_path; in TEST_F() local [all …]
|
D | sentence_piece_vocab_op_test.cc | 62 std::string dataset_path; in TEST_F() local 63 dataset_path = datasets_root_path_ + "/test_sentencepiece/botchan.txt"; in TEST_F() 66 std::shared_ptr<TextFileOp> file_op = TextFile({dataset_path}, 1, 2); in TEST_F() 111 std::string dataset_path; in TEST_F() local 112 dataset_path = datasets_root_path_ + "/test_sentencepiece/botchan.txt"; in TEST_F() 114 path_list.emplace_back(dataset_path); in TEST_F() 124 std::string dataset_path; in TEST_F() local 125 dataset_path = datasets_root_path_ + "/test_sentencepiece/botchan.txt"; in TEST_F() 127 std::shared_ptr<TextFileOp> file_op = TextFile({dataset_path}, 1, 2); in TEST_F()
|
D | take_op_test.cc | 40 std::string dataset_path; in TEST_F() local 41 dataset_path = datasets_root_path_ + "/testTFTestAllTypes/test.data"; in TEST_F() 50 std::vector<std::string> files = {dataset_path}; in TEST_F()
|
D | skip_op_test.cc | 34 std::string dataset_path; in TEST_F() local 35 dataset_path = datasets_root_path_ + "/testTFTestAllTypes/test.data"; in TEST_F() 44 std::vector<std::string> files = {dataset_path}; in TEST_F()
|
D | project_op_test.cc | 40 std::string dataset_path; in TEST_F() local 41 dataset_path = datasets_root_path_ + "/testTFTestAllTypes/test.data"; in TEST_F() 48 std::vector<std::string> files = {dataset_path}; in TEST_F()
|
D | client_config_test.cc | 87 std::string dataset_path; in TEST_F() local 88 dataset_path = datasets_root_path_ + "/testDataset1/testDataset1.data"; in TEST_F() 93 std::vector<std::string> files = {dataset_path}; in TEST_F()
|
/third_party/mindspore/tests/st/networks/models/resnet50/src_thor/ |
D | dataset.py | 25 def create_dataset(dataset_path, do_train, repeat_num=1, batch_size=32): argument 43 data_set = ds.ImageFolderDataset(dataset_path, num_parallel_workers=16, shuffle=True) 45 data_set = ds.ImageFolderDataset(dataset_path, num_parallel_workers=12, shuffle=True, 48 data_set = ds.ImageFolderDataset(dataset_path, num_parallel_workers=12, shuffle=False,
|
/third_party/mindspore/tests/st/networks/models/resnet50/src/ |
D | dataset.py | 25 def create_dataset(dataset_path, do_train, repeat_num=1, batch_size=32): argument 43 data_set = ds.ImageFolderDataset(dataset_path, num_parallel_workers=16, shuffle=True) 45 data_set = ds.ImageFolderDataset(dataset_path, num_parallel_workers=12, shuffle=True, 48 data_set = ds.ImageFolderDataset(dataset_path, num_parallel_workers=12, shuffle=False,
|
/third_party/mindspore/tests/st/model_zoo_tests/DeepFM/ |
D | test_deepfm.py | 42 dataset_path = "/home/workspace/mindspore_dataset/criteo_data/mindrecord/" 43 print("dataset_path:", dataset_path) 44 ds_train = create_dataset(dataset_path, 63 ds_eval = create_dataset(dataset_path, train_mode=False,
|
/third_party/mindspore/tests/st/model_zoo_tests/resnet50/ |
D | test_resnet50_cifar10.py | 35 dataset_path = os.path.join(utils.data_root, "cifar-10-batches-bin") 38 .format(utils.rank_table_path, dataset_path, config_path) 66 dataset_path = os.path.join(utils.data_root, "cifar-10-batches-bin") 70 .format(dataset_path, config_path)
|
/third_party/mindspore/mindspore/train/callback/ |
D | _summary_collector.py | 794 dataset_path = self._get_dataset_path(dataset) 796 dataset_path = None 798 if dataset_path and os.path.isfile(dataset_path): 799 dataset_dir = os.path.dirname(dataset_path) 801 dataset_dir = dataset_path 840 dataset_path = '' 843 dataset_path = output_dataset.dataset_file 845 dataset_path = output_dataset.dataset_dir 847 dataset_path = output_dataset.dataset_files[0] 849 if dataset_path: [all …]
|
/third_party/mindspore/tests/st/ps/full_ps/ |
D | shell_run_test.sh | 33 …python ${self_path}/../test_full_ps_lenet.py --device_target=$DEVICE_TARGET --dataset_path=$DATASE… 42 …python ${self_path}/../test_full_ps_lenet.py --device_target=$DEVICE_TARGET --dataset_path=$DATASE… 52 …python ${self_path}/../test_full_ps_lenet.py --device_target=$DEVICE_TARGET --dataset_path=$DATASE…
|
/third_party/mindspore/tests/st/ps/part_ps/ |
D | shell_run_test.sh | 33 …mbedding_heterogeneous_conv2d_adam.py --device_target=$DEVICE_TARGET --dataset_path=$DATASET_PATH & 42 …mbedding_heterogeneous_conv2d_adam.py --device_target=$DEVICE_TARGET --dataset_path=$DATASET_PATH & 52 …mbedding_heterogeneous_conv2d_adam.py --device_target=$DEVICE_TARGET --dataset_path=$DATASET_PATH &
|
/third_party/mindspore/tests/st/model_zoo_tests/lenet/ |
D | test_lenet_MNIST.py | 34 dataset_path = os.path.join(utils.data_root, "mnist") 36 .format(model_name, dataset_path, train_log) 40 .format(model_name, dataset_path, ckpt_file, infer_log)
|
/third_party/mindspore/tests/st/fl/cross_silo_femnist/ |
D | run_cross_silo_femnist_sched.py | 39 dataset_path = args.dataset_path variable 54 cmd_sched += " --dataset_path=" + str(dataset_path)
|
D | run_cross_silo_femnist_worker.py | 49 dataset_path = args.dataset_path variable 75 cmd_worker += " --dataset_path=" + str(dataset_path)
|
/third_party/mindspore/tests/st/fl/cross_silo_faster_rcnn/ |
D | run_cross_silo_fasterrcnn_sched.py | 39 dataset_path = args.dataset_path variable 54 cmd_sched += " --dataset_path=" + str(dataset_path)
|
D | run_cross_silo_fasterrcnn_worker.py | 45 dataset_path = args.dataset_path variable 69 cmd_worker += " --dataset_path=" + str(dataset_path)
|
/third_party/mindspore/tests/st/quantization/mobilenetv2_quant/ |
D | test_mobilenetv2_quant_gpu.py | 55 dataset_path = "/home/workspace/mindspore_dataset/cifar-10-batches-bin/" variable 77 dataset = create_dataset(dataset_path=dataset_path,
|