Skip to content

Instantly share code, notes, and snippets.

View SamuelBG13's full-sized avatar
🐧

Samuel Bustamante SamuelBG13

🐧
  • München, Germany
View GitHub Profile
@AlexeyGy
AlexeyGy / coco2pascal.py
Last active July 22, 2022 09:25
Convert MS COCO Annotation to Pascal VOC format for python3 and with tqdm
import baker
import json
import os
from cytoolz import merge, join, groupby
from cytoolz.compatibility import iteritems
from cytoolz.curried import update_in
from itertools import starmap
from collections import deque
from lxml import etree, objectify
from scipy.io import savemat