1. Problem phenomenon
Error reported by Ubuntu
machine or docker
container
Traceback (most recent call last):
File "main.py", line 200, in <module>
File "attribute_extract/extract_attribute.py", line 37, in __init__
File "attribute_extract/models.py", line 25, in __init__
File "torchvision/models/resnet.py", line 199, in resnet50
File "torch/hub.py", line 433, in load_state_dict_from_url
File "torch/hub.py", line 349, in _download_url_to_file
File "urllib/request.py", line 162, in urlopen
File "urllib/request.py", line 465, in open
File "urllib/request.py", line 483, in _open
File "urllib/request.py", line 443, in _call_chain
File "urllib/request.py", line 1286, in https_open
File "urllib/request.py", line 1245, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)>
2. Solutions
sudo apt-get update
sudo apt-get install ca-certificates
sudo update-ca-certificates --fresh
export SSL_CERT_DIR=/etc/ssl/certs
Read More:
- [Solved] torchvision.models.resnet18() Error: PytorchStreamReader failed reading zip archive: failed finding…
- Repo init Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
- Error received: error: xhr’get’to URL cross domain [How to Solve]
- [Solved] torch Do Targer Detection Error: RuntimeError: CUDA error: device-side assert triggered
- [ubuntu14.04]Tensorflow: Could not find any downloads that satisfy the requirement
- Vitis-AI Generate a Quantitative Model: NotImplementedError
- SVN Error:svn: E230001: Server SSL certificate verification failed: certificate issued
- [Solved] Error response from daemon: Get “*“: x509: certificate signed by unknown authority
- RuntimeError: CUDNN_STATUS_EXECUTION_FAILED [How to Solve]
- The solution of no module named ‘jinja2. Asyncsupport’
- MOTR compiling error: cannot call member function ‘void std::basic_string<_CharT, _Traits, _Alloc>::_R
- Yolox_s.pth Convert to tensorRT Error: AttributeError: ‘tensorrt.tensorrt.Builder‘ object has no attribute ‘max_workspace_size‘
- [Solved] Error downloading standard development IDs for MRPC. You will need to manually split your data.
- Etcd Error: mvcc: database space exceeded
- How to Solve Error: Heartbeating to master:7182 failed.
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- K8s Install Error: Error: unknown flag: –experimental-upload-certs
- Pytorch failed to specify GPU resolution
- [Solved] Git Clone Error: error setting certificate verify locations
- [Solved] Pytorch loading model specified GPU card number error or failed to specify