Are you sure you want to delete this access key?
MS COCO (Microsoft Common Objects in Context) is a large-scale image dataset containing 328,000 images of everyday objects and humans. The dataset contains annotations you can use to train machine learning models to recognize, label, and describe objects.
They define several annotation formats,but that all share the same basic structure:
“info”: {
“year”: 2022,
“version”: 1.3,
“description:” “Vehicles dataset”,
“contributor”: “John Smith”,
“url”: “http://vehicles-dataset.org”,
“date_created”: “2022/02/01”
}
“licenses”: [
{
“id”: 1,
“name”: “Free license”,
“url:” “http://vehicles-dataset.org”
}
]
“image”: [
{
“id”: 1342334,
“width”: 640,
“height”: 640,
“file_name: “ford-t.jpg”,
“license”: 1,
“date_captured”: “2022-02-01 15:13”
}
]
In the usecase presented in this repo, the Object Detection Annotations were chosen. The Object Detection annotations have 2 extra fields:
“annotations”: [
{
”segmentation”: {
“counts”: [34, 55, 10, 71]
“size”: [240, 480]
},
“area”: 600.4,
“iscrowd”: 1,
“image_id:” 122214,
“bbox”: [473.05, 395.45, 38.65, 28.92],
“category_id”: 15,
“id”: 934
}
]
“categories”: [
{
“id”: 1,
“name”: ”car”,
“supercategory”: “road vehicles”,
“isthing”: 1,
“color”: [1,0,0]
}
]
For this tutorial the "2017 Val Images" and the "2017 Train/Val annotation, specifically the "instances_val2017" annotations were chosen. NOTE: This decision was solely due to the small size of the dataset. The tutorial workswith dataset of all sizes.
This folder has the following stucture:
COCO
| Convert_COCO_Annotations_to_DagsHub_Format.ipynb.ipynb
| README.md
|
\---data
+---annotations
| instances_val2017.json
|
\---images
The images are all stored under the images
folder. The annotations file will be used in the colab and need not be present in the repo, but its left here for future references.
To convert COCO Annotations to Dagshub Format:
VOILA!
We tested the transfer annotations too. Checkout this Transfer-Annotation-COCO repository!
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?