8.1.1.3.1.13. blueoil.datasets.mnist

8.1.1.3.1.13.1. Module Contents

8.1.1.3.1.13.1.1. Classes

Mnist

Abstract class of dataset for loading image files stored in a folder.

class blueoil.datasets.mnist.Mnist(subset='train', batch_size=100, *args, **kwargs)

Bases: blueoil.datasets.image_folder.ImageFolderBase

Abstract class of dataset for loading image files stored in a folder.

structure like

$DATA_DIR/extend_dir/cat/0001.jpg $DATA_DIR/extend_dir/cat/xxxa.jpeg $DATA_DIR/extend_dir/cat/yyyb.png $DATA_DIR/extend_dir/dog/123.jpg $DATA_DIR/extend_dir/dog/023.jpg $DATA_DIR/extend_dir/dog/wwww.jpg

When child class has validation_extend_dir, the validation subset consists from the folders.

$DATA_DIR/validation_extend_dir/cat/0001.jpg $DATA_DIR/validation_extend_dir/cat/xxxa.png

extend_dir = mnist