Home
last modified time | relevance | path

Searched refs:annotation_file (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_coco.py31 data1 = ds.CocoDataset(DATA_DIR, annotation_file=ANNOTATION_FILE, task="Detection",
69 data1 = ds.CocoDataset(DATA_DIR, annotation_file=ANNOTATION_FILE, task="Stuff",
115 data1 = ds.CocoDataset(DATA_DIR, annotation_file=KEYPOINT_FILE, task="Keypoint",
147 …data1 = ds.CocoDataset(DATA_DIR, annotation_file=PANOPTIC_FILE, task="Panoptic", decode=True, shuf…
180 data1 = ds.CocoDataset(DATA_DIR, annotation_file=ANNOTATION_FILE, task="Detection",
185 data2 = ds.CocoDataset(DATA_DIR, annotation_file=ANNOTATION_FILE, task="Stuff",
190 data3 = ds.CocoDataset(DATA_DIR, annotation_file=KEYPOINT_FILE, task="Keypoint",
195 data4 = ds.CocoDataset(DATA_DIR, annotation_file=PANOPTIC_FILE, task="Panoptic",
202 data1 = ds.CocoDataset(DATA_DIR, annotation_file=ANNOTATION_FILE, task="Detection", decode=True)
213 data1 = ds.CocoDataset(DATA_DIR, annotation_file=PANOPTIC_FILE, task="Panoptic", decode=True)
[all …]
Dtest_resize_with_bbox.py76 dataCOCO1 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
79 dataCOCO2 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
Dtest_random_resize_with_bbox.py82 dataCoco1 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
85 dataCoco2 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
Dtest_random_crop_and_resize_with_bbox.py80 dataCoco1 = ds.CocoDataset(DATA_DIR_COCO[0], annotation_file=DATA_DIR_COCO[1], task="Detection",
83 dataCoco2 = ds.CocoDataset(DATA_DIR_COCO[0], annotation_file=DATA_DIR_COCO[1], task="Detection",
Dtest_random_horizontal_flip_with_bbox.py68 dataCoco1 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
71 dataCoco2 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
Dtest_random_vertical_flip_with_bbox.py69 dataCoco1 = ds.CocoDataset(DATA_DIR_COCO[0], annotation_file=DATA_DIR_COCO[1], task="Detection",
72 dataCoco2 = ds.CocoDataset(DATA_DIR_COCO[0], annotation_file=DATA_DIR_COCO[1], task="Detection",
Dtest_datasets_get_dataset_size.py179 dataset = ds.CocoDataset(COCO_DATA_DIR, annotation_file=ANNOTATION_FILE, task="Detection",
183 …dataset_shard_2_0 = ds.CocoDataset(COCO_DATA_DIR, annotation_file=ANNOTATION_FILE, task="Detection…
Dtest_bounding_box_augment.py158 dataCoco1 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
161 dataCoco2 = ds.CocoDataset(DATA_DIR_2[0], annotation_file=DATA_DIR_2[1], task="Detection",
Dtest_random_crop_with_bbox.py71 dataCoco1 = ds.CocoDataset(DATA_DIR_COCO[0], annotation_file=DATA_DIR_COCO[1], task="Detection",
74 dataCoco2 = ds.CocoDataset(DATA_DIR_COCO[0], annotation_file=DATA_DIR_COCO[1], task="Detection",
Dtest_get_col_names.py56 data = ds.CocoDataset(COCO_DIR, annotation_file=COCO_ANNOTATION, task="Detection",
Dtest_sampler_chain.py208 …data1 = ds.CocoDataset(COCO_DATA_DIR, annotation_file=ANNOTATION_FILE, task="Detection", decode=Tr…
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_dataset_coco_test.cc32 std::string annotation_file = datasets_root_path_ + "/testCOCO/annotations/train.json"; in TEST_F() local
34 std::shared_ptr<Dataset> ds = Coco(folder_path, annotation_file); in TEST_F()
68 std::string annotation_file = datasets_root_path_ + "/testCOCO/annotations/train.json"; in TEST_F() local
70 std::shared_ptr<Dataset> ds1 = Coco(folder_path, annotation_file); in TEST_F()
71 std::shared_ptr<Dataset> ds2 = Coco(folder_path, annotation_file); in TEST_F()
125 std::string annotation_file = datasets_root_path_ + "/testCOCO/annotations/train.json"; in TEST_F() local
127 std::shared_ptr<Dataset> ds = Coco(folder_path, annotation_file); in TEST_F()
139 std::string annotation_file = datasets_root_path_ + "/testCOCO/annotations/train.json"; in TEST_F() local
142 … Coco(folder_path, annotation_file, "Detection", false, std::make_shared<SequentialSampler>(0, 6)); in TEST_F()
199 std::string annotation_file = datasets_root_path_ + "/testCOCO/annotations/train.json"; in TEST_F() local
[all …]
Ddeserialize_test.cc369 std::string annotation_file = "./data/dataset/testCOCO/annotations/train.json"; in TEST_F() local
375 std::make_shared<CocoNode>(folder_path, annotation_file, task, true, sampler, cache, false); in TEST_F()
520 std::string annotation_file = "./data/dataset/testFlickrData/flickr30k/test1.token"; in TEST_F() local
522 std::make_shared<FlickrNode>(dataset_path, annotation_file, decode, sampler, nullptr); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/source/
Dflickr_node.cc34 FlickrNode::FlickrNode(const std::string &dataset_dir, const std::string &annotation_file, bool dec… in FlickrNode() argument
38 annotation_file_(annotation_file), in FlickrNode()
79 Path annotation_file(annotation_file_); in ValidateParams() local
80 if (!annotation_file.Exists()) { in ValidateParams()
161 std::string annotation_file = json_obj["annotation_file"]; in from_json() local
167 *ds = std::make_shared<FlickrNode>(dataset_dir, annotation_file, decode, sampler, cache); in from_json()
Dcoco_node.cc34 CocoNode::CocoNode(const std::string &dataset_dir, const std::string &annotation_file, const std::s… in CocoNode() argument
39 annotation_file_(annotation_file), in CocoNode()
60 Path annotation_file(annotation_file_); in ValidateParams() local
61 if (!annotation_file.Exists()) { in ValidateParams()
213 std::string annotation_file = json_obj["annotation_file"]; in from_json() local
221 …*ds = std::make_shared<CocoNode>(dataset_dir, annotation_file, task, decode, sampler, cache, extra… in from_json()
Dflickr_node.h32 FlickrNode(const std::string &dataset_dir, const std::string &annotation_file, bool decode,
Dcoco_node.h32 …CocoNode(const std::string &dataset_dir, const std::string &annotation_file, const std::string &ta…
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/include/dataset/
Ddatasets.h1353 CocoDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file,
1365 CocoDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file,
1377 CocoDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file,
1403 …d::shared_ptr<CocoDataset> Coco(const std::string &dataset_dir, const std::string &annotation_file,
1408 …return std::make_shared<CocoDataset>(StringToChar(dataset_dir), StringToChar(annotation_file), Str…
1429 …d::shared_ptr<CocoDataset> Coco(const std::string &dataset_dir, const std::string &annotation_file,
1433 …return std::make_shared<CocoDataset>(StringToChar(dataset_dir), StringToChar(annotation_file), Str…
1454 …d::shared_ptr<CocoDataset> Coco(const std::string &dataset_dir, const std::string &annotation_file,
1459 …return std::make_shared<CocoDataset>(StringToChar(dataset_dir), StringToChar(annotation_file), Str…
1642 …FlickrDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file, bool…
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/python/bindings/dataset/engine/ir/datasetops/source/
Dbindings.cc120 … .def(py::init([](std::string dataset_dir, std::string annotation_file, std::string task, in __anon810239690b02()
123 … dataset_dir, annotation_file, task, decode, toSamplerObj(sampler), nullptr, extra_metadata); in __anon810239690b02()
157 ….def(py::init([](std::string dataset_dir, std::string annotation_file, bool decode, const py::hand… in __anon810239691102() argument
159 …std::make_shared<FlickrNode>(dataset_dir, annotation_file, decode, toSamplerObj(sampler), nullptr); in __anon810239691102()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dflickr_op.h47 …FlickrOp(int32_t num_workers, const std::string &dataset_dir, const std::string &annotation_file, …
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/api/
Ddatasets.cc981 …ataset::CocoDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file, in CocoDataset() argument
985 …auto ds = std::make_shared<CocoNode>(CharToString(dataset_dir), CharToString(annotation_file), Cha… in CocoDataset()
989 …ataset::CocoDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file, in CocoDataset() argument
993 …auto ds = std::make_shared<CocoNode>(CharToString(dataset_dir), CharToString(annotation_file), Cha… in CocoDataset()
997 …ataset::CocoDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file, in CocoDataset() argument
1002 …auto ds = std::make_shared<CocoNode>(CharToString(dataset_dir), CharToString(annotation_file), Cha… in CocoDataset()
1044 …aset::FlickrDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file, in FlickrDataset() argument
1049 …std::make_shared<FlickrNode>(CharToString(dataset_dir), CharToString(annotation_file), decode, sam… in FlickrDataset()
1053 …aset::FlickrDataset(const std::vector<char> &dataset_dir, const std::vector<char> &annotation_file, in FlickrDataset() argument
1057 …std::make_shared<FlickrNode>(CharToString(dataset_dir), CharToString(annotation_file), decode, sam… in FlickrDataset()
[all …]
/third_party/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc123 const std::string& annotation_file) { in PrintGeneratedAnnotation() argument
124 if (annotation_file.empty()) { in PrintGeneratedAnnotation()
133 printer->Print(ptemplate.c_str(), "annotation_file", annotation_file); in PrintGeneratedAnnotation()
Djava_helpers.h63 const std::string& annotation_file = "");
/third_party/mindspore/mindspore/dataset/engine/
Dvalidators.py269 annotation_file = param_dict.get('annotation_file')
270 check_file(annotation_file)
1447 annotation_file = param_dict.get('annotation_file')
1449 check_file(annotation_file)
Ddatasets.py5311 …def __init__(self, dataset_dir, annotation_file, task="Detection", num_samples=None, num_parallel_… argument
5317 self.annotation_file = annotation_file
5323 … return cde.CocoNode(self.dataset_dir, self.annotation_file, self.task, self.decode, self.sampler,
6484 …def __init__(self, dataset_dir, annotation_file, num_samples=None, num_parallel_workers=None, shuf… argument
6490 self.annotation_file = annotation_file
6494 return cde.FlickrNode(self.dataset_dir, self.annotation_file, self.decode, self.sampler)

12