Skip to content

Instantly share code, notes, and snippets.

View yanxi0830's full-sized avatar
🎯
Focusing

Xi Yan yanxi0830

🎯
Focusing
  • University of Toronto
  • Toronto, Canada
View GitHub Profile
@yanxi0830
yanxi0830 / data2cocoformat.py
Created December 2, 2019 05:15
Convert NDS sampled Image IDs into COCO Format Annotations for COCO + OpenImages
import json
import os
import argparse
import datetime
from joblib import Parallel, delayed
import multiprocessing
INFO = {
"description": "Mixed Dataset",
"url": "",