If we had a NN to, let's say, clasify images of digits, but each image could contain more than 1 digit (all different), is there any problem in using a 10-dimensional output layer (representing digits 0-9) and the sigmoid activation function in each output neuron?
We cannot use softmax here because, as I say, more than 1 outputs are possible. E.g. if an image contains the digits 3, 5 and 9, the ground truth vector would be [0001010001].
I read some people suggested duplicating the output. I.e: if we can have up to 5 different numbers in an image, we would have 10x5=50 output neurons and apply a softmax activation function to each group of 10. I think this approach is wrong.
I appreciate any other ideas!