Skip to content

Instantly share code, notes, and snippets.

@davesie
davesie / tt100k2coco.py
Last active February 16, 2021 11:19 — forked from zhaoweizhong/tt100k2coco.py
Transform Tsinghua-Tencent 100K Dataset Annotations to COCO Format
'''
Transform Tsinghua-Tencent 100K Dataset Annotations to COCO Format
Source:
https://gist.github.com/zhaoweizhong/7ca1f4d4fdcb0aa198732a0e7cc9b908#file-tt100k2coco-py
'''
import json
import argparse