I tried to follow this answer on stackoverflow as well as the load/save tutorials

  

      stackoverflow.com
  

  
      
    
  


  How to cache Pytorch models for use when not connected to the internet? 4



  python, pytorch, vgg-net



  asked by
  
  
    Joseph Summerhays
  
  on 04:08AM - 20 Feb 20 UTC


  

  
    
    
  

  


but it seems I need internet everywhere, whenever I just declare the model
model = detection.fasterrcnn_resnet50_fpn(pretrained=True)
also tried and few variations based on the github and reasoning
model = detection.fasterrcnn_resnet50_fpn(pretrained=False)
no matter if in a function or not, it tries and fails to download from the internet, so I can’t even get to the loading step.
how do I do this correctly?