An open API service indexing awesome lists of open source software.

https://github.com/bbenligiray/pascal_voc2007_formatter

A tool to download and format PASCAL VOC 2007 dataset for multilabel classification
https://github.com/bbenligiray/pascal_voc2007_formatter

dataset-manager image-classification multilabel-classification pascal-voc

Last synced: 10 months ago
JSON representation

A tool to download and format PASCAL VOC 2007 dataset for multilabel classification

Awesome Lists containing this project

README

          

# PASCAL VOC 2007 Formatter

A tool to download and format PASCAL VOC2007 dataset for multilabel classification. It outputs a .h5 file that contains the following:

* data_types: 'train', 'val' and 'test'
* cats: names of the 20 categories

(replace x with any data type)

* x_images: flattened images (h5py allows differently sized elements only if they are 1D)
* x_shapes: shapes of the images, to reshape the flattened images
* x_names: file names of the images
* x_label: a one-hot integer vector of labels