How To Remove Layer From Pretrained Model, The tutorial I followed had done this: model = models.