How to change the code to use feature extractor from torchvision

I would like to change the feature extractor in the github code below

How to change self.conv to use something from the torchvision models directly ?

thank you