Skip to content

Instantly share code, notes, and snippets.

Avatar
🐦

Robin Baumann RobinBaumann

🐦
View GitHub Profile
@RobinBaumann
RobinBaumann / cars196_convert.py
Last active Nov 12, 2020
Example of how to convert a dataset from TFDS to PASCAL VOC format used in TF Object Detection API
View cars196_convert.py
"""
Created by Robin Baumann <https://github.com/RobinBaumann> at October 08, 2020.
"""
import os
from absl import app
from absl import flags
import contextlib2
from object_detection.dataset_tools import tf_record_creation_util
from object_detection.utils import dataset_util