Relative Content

Tag Archive for pythontensorflowmachine-learningkerasdeep-learning

Improving CNN Performance with a Parallel Neural Network for Dynamic Weight Assignment

I am trying to improve my Convolutional neural network by implementing a parallel neural network (nn) that outputs a weight between 0 and 1, and assigns this weight to the associated datapoint/image. So both networks receive the same image as an input, and the weight nn outputs a weight, while the regression cnn outputs one value. The results are then concatenated and passed on to the mutual custom loss function for both networks, that multiplies the squared difference between the predicted value and target value, then multiplies this with the given weight from the parallel nn: sum((Y(:,i)-T(:,i))^2)*W(i).

Parallel Neural Networks With Weighted Loss function

I am trying to improve my Convolutional neural network by implementing a parallel neural network (nn) that outputs a weight between 0 and 1, and assigns this weight to the associated datapoint/image. So both networks receive the same image as an input, and the weight nn outputs a weight, while the regression cnn outputs one value. The results are then concatenated and passed on to the mutual custom loss function for both networks, that multiplies the squared difference between the predicted value and target value, then multiplies this with the given weight from the parallel nn: sum((Y(:,i)-T(:,i))^2)*W(i).