Hello,
I wanted to ask a question about normalizing inputs.
Where would you implement custom normalizing functions, for instance I have a type of input that could be normalized in various ways (std-mean, polar-coordinates, etc…), but would like to retain the automatic denorm to visualize the inputs.
So my options are:
Creating a PreProcessor to normalize inputs, how I would denorm them?
And so on for others. Check the normalize_funcs for how the do_* functions should work, it’s just returning a pair of norm/denorm functions.
Though the above would also work as a databunch method. In fact you could just add ImageDataBunch.polar_norm = polar_norm at the end of the above code and then any ImageDataBunch would have that polar_norm method.