I'm using vgg19 in a classification problem. I have access to the campus research computer to train on, but the nodes where the computation is done don't have access to the internet. So running a line of code like self.net = models.vgg19(pretrained=True)
fails with the error urllib.error.URLError: <urlopen error [Errno 101] Network is unreachable>
Is there a way I could cache the model on the head node (where I have internet access), and load the model from the cache instead of the internet on the compute node?