That’s because you use self for the original_model variable. To get rid of this, just use normal variable:
original_model = torchvision.models.resnet34(pretrained=True)

if you use self in the constructor of nn.Module, it’s actually a layer register action, so you can see what you have registed:

A whole resnet34
A conv1
A bn1
A relu
…