Closed gngdb closed 9 years ago
I changed augmentation_wrapper to take keyword ags instead of a dictionary.
Change it to:
processing = neukrill_net.augment.augmentation_wrapper(**processing_settings)
I changed it to **kwargs because I needed to set a default value for the units
variable, and that input should still be handled the same way as the rest. I'm pretty sure this is the proper way to do things in python.
Yeah, seems better. Guess we already have a unit test for this. Only one call to augmentation_wrapper to fix in the dense dataset initialisation. Fixing that myself now.
When loading a preprocessing function to simply resize an image my images are coming back non-resized. Should make a unit test to make sure this stays fixed.