Deep-Painterly-Harmonization-in-PyTorch
Deep-Painterly-Harmonization-in-PyTorch copied to clipboard
HTTP Error 403: Forbidden when tring to download models
when i run download_models.py i am getting following error "urllib.error.HTTPError: HTTP Error 403: Forbidden" so i can't download vgg19/16 can i download it from another place and them just load it, change layer's names : map = {'classifier.1.weight':u'classifier.0.weight', 'classifier.1.bias':u'classifier.0.bias', 'classifier.4.weight':u'classifier.3.weight', 'classifier.4.bias':u'classifier.3.bias'} sd = OrderedDict([(map[k] if k in map else k,v) for k,v in sd.items()])
thanks
I got this too, but figured it out. The model location has been changed. Per https://github.com/jcjohnson/pytorch-vgg , you can find it at: https://web.eecs.umich.edu/~justincj/models/vgg19-d01eb7cb.pth I changed the address in "download_models.py", (which isn't in the "models" folder, contradictory to the instructions, just saying) and am currently running pass1.py, seemingly, just fine.