Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Gitee 2025 OpenSource,We need your vote!
Fetch the repository succeeded.
Open Source
>
AI/ML
>
Artificial Intelligence
&&
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
25
Star
109
Fork
62
DeepSpark
/
DeepSparkHub
Code
Issues
4
Pull Requests
0
Wiki
Insights
Pipelines
Service
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
RealBasicVSR模型执行报错
Done
#I64STQ
majorli6
member
Opened this issue
2022-12-06 10:55
## Bug Report - 故障报告 RealBasicVSR模型执行报错 ### Decription - 问题描述 执行bash dist_train.sh configs/real_basicvsr/realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds.py 8 报错 certificate verify failed: unable to get local issuer certificate (_ssl.c:1091) ### Env Info - 环境信息 容器镜像:20221205.1014-centos-7.8.2003-x86_64-10.2-python3.7 ### Error logs - 错误日志 ```bash 2022-12-07 02:10:30,378 - mmedit - INFO - Set random seed to 0, deterministic: False 2022-12-07 02:10:30,434 - mmedit - INFO - load checkpoint from http path: https://download.openmmlab.com/mmediting/restorers/basicvsr/spynet_20210409-c6c1bd09.pth Downloading: "https://download.openmmlab.com/mmediting/restorers/basicvsr/spynet_20210409-c6c1bd09.pth" to /root/.cache/torch/hub/checkpoints/spynet_20210409-c6c1bd09.pth Traceback (most recent call last): File "/usr/local/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/local/lib/python3.7/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1036, in _send_output self.send(msg) File "/usr/local/lib/python3.7/http/client.py", line 976, in send self.connect() File "/usr/local/lib/python3.7/http/client.py", line 1451, in connect server_hostname=server_hostname) File "/usr/local/lib/python3.7/ssl.py", line 423, in wrap_socket session=session File "/usr/local/lib/python3.7/ssl.py", line 870, in _create self.do_handshake() File "/usr/local/lib/python3.7/ssl.py", line 1139, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/utils/registry.py", line 52, in build_from_cfg return obj_cls(**args) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmedit/models/backbones/sr_backbones/real_basicvsr_net.py", line 63, in __init__ spynet_pretrained) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmedit/models/backbones/sr_backbones/basicvsr_net.py", line 39, in __init__ self.spynet = SPyNet(pretrained=spynet_pretrained) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmedit/models/backbones/sr_backbones/basicvsr_net.py", line 247, in __init__ load_checkpoint(self, pretrained, strict=True, logger=logger) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 528, in load_checkpoint checkpoint = _load_checkpoint(filename, map_location, logger) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 467, in _load_checkpoint return CheckpointLoader.load_checkpoint(filename, map_location, logger) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 245, in load_checkpoint return checkpoint_loader(filename, map_location) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 285, in load_from_http filename, model_dir=model_dir, map_location=map_location) File "/opt/apps/local/lib64/python3/dist-packages/torch/hub.py", line 586, in load_state_dict_from_url download_url_to_file(url, cached_file, hash_prefix, progress=progress) File "/opt/apps/local/lib64/python3/dist-packages/torch/hub.py", line 452, in download_url_to_file u = urlopen(req) File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/usr/local/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/local/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/local/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)> ```
## Bug Report - 故障报告 RealBasicVSR模型执行报错 ### Decription - 问题描述 执行bash dist_train.sh configs/real_basicvsr/realbasicvsr_c64b20_1x30x8_lr5e-5_150k_reds.py 8 报错 certificate verify failed: unable to get local issuer certificate (_ssl.c:1091) ### Env Info - 环境信息 容器镜像:20221205.1014-centos-7.8.2003-x86_64-10.2-python3.7 ### Error logs - 错误日志 ```bash 2022-12-07 02:10:30,378 - mmedit - INFO - Set random seed to 0, deterministic: False 2022-12-07 02:10:30,434 - mmedit - INFO - load checkpoint from http path: https://download.openmmlab.com/mmediting/restorers/basicvsr/spynet_20210409-c6c1bd09.pth Downloading: "https://download.openmmlab.com/mmediting/restorers/basicvsr/spynet_20210409-c6c1bd09.pth" to /root/.cache/torch/hub/checkpoints/spynet_20210409-c6c1bd09.pth Traceback (most recent call last): File "/usr/local/lib/python3.7/urllib/request.py", line 1350, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/local/lib/python3.7/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/local/lib/python3.7/http/client.py", line 1036, in _send_output self.send(msg) File "/usr/local/lib/python3.7/http/client.py", line 976, in send self.connect() File "/usr/local/lib/python3.7/http/client.py", line 1451, in connect server_hostname=server_hostname) File "/usr/local/lib/python3.7/ssl.py", line 423, in wrap_socket session=session File "/usr/local/lib/python3.7/ssl.py", line 870, in _create self.do_handshake() File "/usr/local/lib/python3.7/ssl.py", line 1139, in do_handshake self._sslobj.do_handshake() ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/utils/registry.py", line 52, in build_from_cfg return obj_cls(**args) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmedit/models/backbones/sr_backbones/real_basicvsr_net.py", line 63, in __init__ spynet_pretrained) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmedit/models/backbones/sr_backbones/basicvsr_net.py", line 39, in __init__ self.spynet = SPyNet(pretrained=spynet_pretrained) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmedit/models/backbones/sr_backbones/basicvsr_net.py", line 247, in __init__ load_checkpoint(self, pretrained, strict=True, logger=logger) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 528, in load_checkpoint checkpoint = _load_checkpoint(filename, map_location, logger) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 467, in _load_checkpoint return CheckpointLoader.load_checkpoint(filename, map_location, logger) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 245, in load_checkpoint return checkpoint_loader(filename, map_location) File "/majorli/repos/deepsparkhub/cv/super_resolution/real_basicVSR/pytorch/mmcv/runner/checkpoint.py", line 285, in load_from_http filename, model_dir=model_dir, map_location=map_location) File "/opt/apps/local/lib64/python3/dist-packages/torch/hub.py", line 586, in load_state_dict_from_url download_url_to_file(url, cached_file, hash_prefix, progress=progress) File "/opt/apps/local/lib64/python3/dist-packages/torch/hub.py", line 452, in download_url_to_file u = urlopen(req) File "/usr/local/lib/python3.7/urllib/request.py", line 222, in urlopen return opener.open(url, data, timeout) File "/usr/local/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/usr/local/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/usr/local/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/local/lib/python3.7/urllib/request.py", line 1393, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/local/lib/python3.7/urllib/request.py", line 1352, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)> ```
Comments (
1
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Closed
Assignees
Not set
Labels
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (16)
Tags (12)
master
test_for_ci
release/25.09
release/25.06
release/25.03
4.1.2
release/24.12
release/24.09
release/24.06
openi-task12
release/24.03
release/23.12
release/23.09
release/23.06
release/23.03
release/22.12
25.09
25.06
25.03
24.12
24.09
24.06
24.03
23.12
23.09
23.06
23.03
22.12
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(1)
Python
1
https://gitee.com/deep-spark/deepsparkhub.git
git@gitee.com:deep-spark/deepsparkhub.git
deep-spark
deepsparkhub
DeepSparkHub
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register