Models and pre-trained weights - PyTorch
pytorch.org › vision › masterWe provide pre-trained models, using the PyTorch torch.utils.model_zoo . These can be constructed by passing pretrained=True: Instancing a pre-trained model will download its weights to a cache directory. This directory can be set using the TORCH_HOME environment variable. See torch.hub.load_state_dict_from_url () for details.