Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Is custom preprocessing available? #2492
I am working on productivization of Keras's VGG16 model in C#. The VGG16's weights are adapted from Caffe and demands turning image into BGR and substracting mean of channels over dataset from the channels of pixel. If my explaination is not understandable, you can see the code here in the first else branch of _preprocess_numpy_input.
Is there an option to do such thing in ML.NET? If not, is there an option to skip the graph definition of preprocessing steps and defining own preprocessing? If not, are there any plans for such feature?
Also if your preprocessing step is just to offset by certain value, you can use offset parameter in transform (we also have scale if you need to scale your values)
I am going to try to find out how to combine columns in such way tommorow and report back.