You can use pretrained versions of these models.
Here is a very good 3-loc example straight from pytorch hub:

  
      
      pytorch.org
  
  
    

PyTorch 15

An open source deep learning platform that provides a seamless path from research prototyping to production deployment.