trained_model have
    self.conv1 = ~~~
    self.conv2 = ~~~
    self.conv3 = ~~~
    self.conv4 = ~~~
    ...

then,

trained_model = torch.load('trained_net')
half_model = nn.Sequential(trained_model.conv1, trained_model.conv2)

Hi all,
I’ve tried to get intermediate features from pre-trained model.
Is it correct way to get intermediate features ?