S2ML-Generators icon indicating copy to clipboard operation
S2ML-Generators copied to clipboard

SSL error on downloading model

Open geoffpowell opened this issue 2 years ago • 0 comments

Hi Justin, I'm getting an SSL error after running the VQGAN+CLIP module. I checked the URL and it appears that forcing http results in a download, so maybe pytorch.org let their SSL cert slide? I tried to figure out if I could change model = load_vqgan_model(args.vqgan_config, args.vqgan_checkpoint).to(device) to spit out an http URL instead of https, but I don't really know enough Python to help. Part of the error message:

Downloading: "https://download.pytorch.org/models/vgg16-397923af.pth"
...
SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1091)

geoffpowell avatar Apr 03 '22 05:04 geoffpowell