Skip to content

SSL certificate has expired error when using a pretrained model #797

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

Closed
gitaar9 opened this issue Aug 2, 2023 · 2 comments
Closed

SSL certificate has expired error when using a pretrained model #797

gitaar9 opened this issue Aug 2, 2023 · 2 comments

Comments

@gitaar9
Copy link

gitaar9 commented Aug 2, 2023

When trying to use a pretrained Unet with an se_resnext50_32x4d encoder, i get the following error:

result = func(*args)

File "/opt/conda/lib/python3.10/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
File "/opt/conda/lib/python3.10/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:997)>

When I do not opt for a pretrained model everything works as expected.
Is this a problem on my side or are more people experiencing this error?

@jaswindersingh2
Copy link

This may help! #745

@gitaar9
Copy link
Author

gitaar9 commented Aug 3, 2023

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants