Preparing dataset - ktl014/Fast-Pedestrian-Tracking GitHub Wiki
Welcome to the Fast-Pedestrian-Tracking wiki!
To download the dataset copy the github repository:
$ git clone https://github.com/mitmul/caltech-pedestrian-dataset-converter.git
To prepare the dataset, run the following commands:
$ python prepare_dataset.py --path=/path/to/output --data-dir=/datasets/ee285f-public/caltech_pedestrians_usa/
Output for example run:
$ python prepare_dataset.py --path=../dataset --data-dir=/datasets/ee285f-public/caltech_pedestrians_usa/
data/
-- data_train.csv
-- data_val.csv
-- data_test.csv
-- dataset.log
Extra detail on Caltech Pedestrian dataset organization:
caltech_pedestrians_usa/
-- scripts/..
-- shells/..
-- tests/..
-- data/
----- images/ #ALL images here
----- set00/
----- set01/
...
----- set10/
----- annotations/
----- annotations.json # All labels here