Objective: To train a neural network as shown in the image below, for an image classification task. (Input dimension can be seen in the image.)
I have been able to create the network, but am facing problems below:
- Specifying the loss and classification error functions.
- Specifying the output variable to be fed to
train_minibatch
dictionary.
I am using a generator to feed the data to the network, and thus using train_minibatch
to feed the data. The output of this generator are the input images, and a list of 4 items containing the 1 hot encoded labels.