登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
代码拉取完成,页面将自动刷新
开源项目
>
人工智能
>
AI-人工智能
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
25
Star
109
Fork
62
DeepSpark
/
DeepSparkHub
代码
Issues
4
Pull Requests
0
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
ICNet模型运行报错
已完成
#I63W98
majorli6
成员
创建于
2022-11-30 14:20
## Bug Report - 故障报告 ICNet模型运行报错 ### Decription - 问题描述 按照readme在环境中执行ICNet模型报错:ModuleNotFoundError: No module named 'model.models' ### Env Info - 环境信息 容器镜像:20221205.1014-centos-7.8.2003-x86_64-10.2-python3.7 ### Error Log - 报错信息 ```bash root@33-bi-mr:[pytorch](master)# bash train_icnet_r50_dist.sh --data-path /home/mingjiang.li/majorli/data/samples/deeplearningsamples/data/datasets/coco2017 --dataset coco /opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py:186: FutureWarning: The module torch.distributed.launch is deprecated and will be removed in future. Use torchrun. Note that --use_env is set by default in torchrun. If your script expects `--local_rank` argument to be set, please change it to read from `os.environ['LOCAL_RANK']` instead. See https://pytorch.org/docs/stable/distributed.html#launch-utility for further instructions FutureWarning, WARNING:torch.distributed.run: ***************************************** Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. ***************************************** Traceback (most recent call last): File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/run_train.py", line 21, in <module> from model import builder File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/model/builder.py", line 17, in <module> from .models import * ModuleNotFoundError: No module named 'model.models' Traceback (most recent call last): File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/run_train.py", line 21, in <module> from model import builder File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/model/builder.py", line 17, in <module> from .models import * ModuleNotFoundError: No module named 'model.models' ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 47215) of binary: /usr/local/bin/python3 Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py", line 193, in <module> main() File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py", line 189, in main launch(args) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py", line 174, in launch run(args) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/run.py", line 713, in run )(*cmd_args) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launcher/api.py", line 131, in __call__ return launch_agent(self._config, self._entrypoint, list(args)) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launcher/api.py", line 261, in launch_agent failures=result.failures, torch.distributed.elastic.multiprocessing.errors.ChildFailedError: ============================================================ /home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/run_train.py FAILED ------------------------------------------------------------ Failures: [1]: time : 2022-12-06_09:23:49 host : 33-bi-mr rank : 1 (local_rank: 1) exitcode : 1 (pid: 47216) error_file: <N/A> traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html ------------------------------------------------------------ Root Cause (first observed failure): [0]: time : 2022-12-06_09:23:49 host : 33-bi-mr rank : 0 (local_rank: 0) exitcode : 1 (pid: 47215) error_file: <N/A> traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html ============================================================ ```
## Bug Report - 故障报告 ICNet模型运行报错 ### Decription - 问题描述 按照readme在环境中执行ICNet模型报错:ModuleNotFoundError: No module named 'model.models' ### Env Info - 环境信息 容器镜像:20221205.1014-centos-7.8.2003-x86_64-10.2-python3.7 ### Error Log - 报错信息 ```bash root@33-bi-mr:[pytorch](master)# bash train_icnet_r50_dist.sh --data-path /home/mingjiang.li/majorli/data/samples/deeplearningsamples/data/datasets/coco2017 --dataset coco /opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py:186: FutureWarning: The module torch.distributed.launch is deprecated and will be removed in future. Use torchrun. Note that --use_env is set by default in torchrun. If your script expects `--local_rank` argument to be set, please change it to read from `os.environ['LOCAL_RANK']` instead. See https://pytorch.org/docs/stable/distributed.html#launch-utility for further instructions FutureWarning, WARNING:torch.distributed.run: ***************************************** Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed. ***************************************** Traceback (most recent call last): File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/run_train.py", line 21, in <module> from model import builder File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/model/builder.py", line 17, in <module> from .models import * ModuleNotFoundError: No module named 'model.models' Traceback (most recent call last): File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/run_train.py", line 21, in <module> from model import builder File "/home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/model/builder.py", line 17, in <module> from .models import * ModuleNotFoundError: No module named 'model.models' ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 47215) of binary: /usr/local/bin/python3 Traceback (most recent call last): File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py", line 193, in <module> main() File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py", line 189, in main launch(args) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launch.py", line 174, in launch run(args) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/run.py", line 713, in run )(*cmd_args) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launcher/api.py", line 131, in __call__ return launch_agent(self._config, self._entrypoint, list(args)) File "/opt/apps/local/lib64/python3/dist-packages/torch/distributed/launcher/api.py", line 261, in launch_agent failures=result.failures, torch.distributed.elastic.multiprocessing.errors.ChildFailedError: ============================================================ /home/mingjiang.li/majorli/repos/verify_deepsparkhub/cv/semantic_segmentation/icnet/pytorch/run_train.py FAILED ------------------------------------------------------------ Failures: [1]: time : 2022-12-06_09:23:49 host : 33-bi-mr rank : 1 (local_rank: 1) exitcode : 1 (pid: 47216) error_file: <N/A> traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html ------------------------------------------------------------ Root Cause (first observed failure): [0]: time : 2022-12-06_09:23:49 host : 33-bi-mr rank : 0 (local_rank: 0) exitcode : 1 (pid: 47215) error_file: <N/A> traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html ============================================================ ```
评论 (
0
)
登录
后才可以发表评论
状态
已完成
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (16)
标签 (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
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
Python
1
https://gitee.com/deep-spark/deepsparkhub.git
git@gitee.com:deep-spark/deepsparkhub.git
deep-spark
deepsparkhub
DeepSparkHub
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册