This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
tensorflow 2.0.2 | |
Usage: python convert.py --input_path=data/ --image_path=data/ --train_split=0.70 --shuffle_seed=1 | |
""" | |
import xml.etree.ElementTree as ET | |
import glob | |
from tqdm import tqdm | |
from math import floor | |
import os | |
import io |