Neuroglycerin / neukrill-net-tools

Tools coded as part of the NDSB competition.
MIT License
0 stars 0 forks source link

Load data in pylearn2 #36

Closed gngdb closed 9 years ago

gngdb commented 9 years ago

Using some kind of dataset class. Should inherit from a standard pylearn2 dataset class. Should also be possible to use some of our code for loading data that we already have.

gngdb commented 9 years ago

Completed draft specs are on the wiki.

gngdb commented 9 years ago

Given up on the clever way of doing this. Going back to using just DenseDesignMatrix class. Should be much simpler, but will limit our space for augmentation and fill up our RAM.

gngdb commented 9 years ago

First version of this working, in dense_dataset.py called dense_dataset.DensePNGDataset. However, requires run settings, which don't exist yet, so you have to hand in a dictionary of settings. Can probably put this in YAML for now. Example run settings:

run_settings = {"preprocessing":{'resize':(48,48)},"final_shape":(48,48),"augmentation_factor":1}

final_shape is the expected final size of the images. augmentation_factor is how many images you're getting back for each image going into preprocessing.