-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL: CERTIFICATE_VERIFY_FAILED error #875
Comments
Same issue here. As a workaround, I downloaded the PTH file manually to torch cache directory (in my case, I needed senet154) : wget --no-check-certificate https://data.lip6.fr/cadene/pretrainedmodels/senet154-c7b49a05.pth -O $HOME/.cache/torch/hub/checkpoints/senet154-c7b49a05.pth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
model = smp.Unet( encoder_name="vgg19", # choose encoder, e.g. mobilenet_v2 or efficientnet-b7 encoder_weights="imagenet", # use
imagenetpre-trained weights for encoder initialization in_channels=3, # model input channels (1 for gray-scale images, 3 for RGB, etc.) classes=1, activation='sigmoid' # model output channels (number of classes in your dataset) )
I am facing URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1000)>
error when trying to download a new model .
The text was updated successfully, but these errors were encountered: