mmfewshot/tests/data/coco_sample.json
Linyiqi 85933cb556
implementation of datasets and dataloader (#2)
* implementation of datasets and dataloader

* add testing file

* fix MergeDataset flag bug and QueryAwareDataset one shot setting bug

* Set all flag to 0 in three datasetwrapper

* Fix NwayKshotDataloader sampler bug and fix some review comments

* add pytest file

* add voc test data for pytest

* finish test file for few shot custom dataset

* finish test file for few shot custom dataset

* finish test file for few shot custom dataset

* finish test file for merge dataset

* finish test file nwaykshot dataset

* cover more coner case in both datasets and add test file for query aware dataset and nwaykshot dataset

* finish test file of dataloader and fix all random seed in test file

* remove config

* avoid ann info change

* fix voc comments

* fix voc comments

* Lyq dataset dataloader (#4)

* fix voc comments

* fix voc comments

* fix voc comments

* fix comment and refactoring FewShotCustomDataset FewShotVOCDataset

* add coco dataset and test file

* Lyq dataset dataloader (#6)

* fix comments

* fix comments

* Lyq dataset dataloader (#7)

* fix comments

* fix comments

* fix comments
2021-05-24 17:07:43 +08:00

78 lines
1.5 KiB
JSON

{
"images": [
{
"file_name": "fake1.jpg",
"height": 800,
"width": 800,
"id": 0
},
{
"file_name": "fake2.jpg",
"height": 800,
"width": 800,
"id": 1
},
{
"file_name": "fake3.jpg",
"height": 800,
"width": 800,
"id": 2
}
],
"annotations": [
{
"bbox": [
0,
0,
20,
20
],
"area": 400.00,
"score": 1.0,
"category_id": 1,
"id": 1,
"image_id": 0
},
{
"bbox": [
0,
0,
20,
20
],
"area": 400.00,
"score": 1.0,
"category_id": 2,
"id": 2,
"image_id": 0
},
{
"bbox": [
0,
0,
20,
20
],
"area": 400.00,
"score": 1.0,
"category_id": 1,
"id": 3,
"image_id": 1
}
],
"categories": [
{
"id": 1,
"name": "bus",
"supercategory": "none"
},
{
"id": 2,
"name": "car",
"supercategory": "none"
}
],
"licenses": [],
"info": null
}