is dnn module possible to get specific outputs from multiple layers in one forwarding?
i.g.
net = cv.dnn.readNet(caffemodel, prototxt)
img = ...
blob = cv.dnn.blobFromImage(img, scale, (227, 227), mean, isrgb, cropFromCenter)
net.setInput(blob)
A, B = net.forward([ "A", "B" ])
read this answer https://answers.opencv.org/question/2...
yes, it would probably work like above, so where exactly is the problem ?
do you have a problematic model, you can show us ?