With your approach I need to do several iterations, to get all my desired outputs. I would like to speed up my training by
                     def forward(self, x):
    out1 = F.relu(self.conv1(x))
    out2 = F.relu(self.conv2(out1))
    out3 = F.relu(self.conv3(out2))
    return out1, out2, out3

I have searched a lot, but I can’t find a way, to get the names of the different layers, of the pretrained pytorch vgg19 model.
Thanks for your help!