Skip to content

Instantly share code, notes, and snippets.

View okajasto's full-sized avatar

Osmo Kajasto okajasto

View GitHub Profile
@okajasto
okajasto / augment.py
Created April 1, 2019 20:31
Simple script to augment DonkeyCar tubs
"""
Script to augment teaching data
Usage:
augment.py --path=<source-dir> [--out=<target_dir>] --aug=<name> [--prob=<PROBABILITY>] [--add-prefix] [--start-id=<id>]
Options:
-h --help Show this screen.
--path TUBPATH Path of the record directory
--out TARGETPATH Path to directory where augmented data is placed, directory is created if it doesn't exist