Neuroglycerin / neukrill-net-tools

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

Run settings must store final shape #54

Closed gngdb closed 9 years ago

gngdb commented 9 years ago

For pylearn2 runs, need to know what shape the images will be once they've been loaded. Unfortunately, seeing as there's different ways to resize images, will need an invariant way to find out what size the images are expected to be. Think the Settings class in utils should store this information and writing pylearn2 wrapper to use this. Expect this property to be called final_shape and be a 2d tuple (what you would get from a numpy array .shape call).

gngdb commented 9 years ago

Just a dictionary stored in json is going to be fine, with "final_shape" as the key.

gngdb commented 9 years ago

Realised this should definitely be in the run settings.

gngdb commented 9 years ago

Untested, but implemented. Expect bugs.