3 ms·
You can inject any data (in numeric form if you want) as a second data input into your neural network (assuming you are doing something custom). For example we
by nl 6y ago
You can inject any data (in numeric form if you want) as a second data input into your neural network (assuming you are doing something custom).
For example we do this to represent the position of specific sub-image parts we extract in an original image.
> just curious if it would help
Depends what you are trying to do.
For example normal CNNs aren't rotation invariant[1] so if you know a gravity vector it can be useful to make your image upright.
(Whilst CNN's aren't rotation invariant, it's common practice to augment training data by applying some rotation to the same image, so depending on how the CNN was training it may be fine)
[1] https://stats.stackexchange.com/questions/239076/about-cnn-kernels-and-scale-rotation-invariance https://stats.stackexchange.com/questions/239076/about-cnn-k..., https://stackoverflow.com/questions/41069903/why-rotation-invariant-neural-networks-are-not-used-in-winners-of-the-popular-co https://stackoverflow.com/questions/41069903/why-rotation-in...