If I understand you correctly, then after passing through features and AdaptiveAvgPool you want to get the outputs of classifier and classifier1
class VGG(nn.Module):
  def __init__(self):
    . . .
  def forward(self, x):
    x = self.features(x)
    return self.classifier(x), self.classifier1(x)

Hope that helps!