Skip to content

emes3ye/convert-dataset-format

Folders and files

NameName
Last commit message
Last commit date

Latest commit

428552e · Aug 24, 2020

History

15 Commits
Jan 20, 2020
Aug 24, 2020
Mar 18, 2020
Mar 18, 2020
Aug 24, 2020
Feb 11, 2020
Jan 23, 2020
Mar 18, 2020
Dec 31, 2019
Mar 18, 2020
Feb 11, 2020
Mar 18, 2020

Repository files navigation

convert-dataset-format

PASCAL-VOC to YOL0

python pascal-voc-to-yolo.py --images [image_folder_path] --labels [pascal-voc labelled folder] --output [output folder] --image_path [image path prefix]

SCUT-HEAD to YOLO

SCUT-HEAD uses PASCAL-VOC format, so PASCAL-VOC to YOLO scripts will work here.

SPLIT DATASET

python split-data-into-train-test.py --filename [original dataset path file] --train_name [train file path] --test_name [test file path]

It splits the dataset into training and testing. First it randomly shuffle the dataset and puts 80% into training set and 20% into testing set.

NUAA-FACE-LIVENESS Dataset

USAGE: python3 nuaa_train_test_split.py -d ClientFace -t client_train_face.txt -o train/real
python3 nuaa_train_test_split.py -d ImposterFace -t imposter_train_face.txt -o train/fake
python3 nuaa_train_test_split.py -d ClientFace -t client_test_face.txt -o test/real
python3 nuaa_train_test_split.py -d ImposterFace -t imposter_test_face.txt -o test/fake

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages