2.4K Star 8.2K Fork 4.5K

GVPMindSpore / mindspore

 / 详情

[ST][MS][910B][facerecognition][GRAPH]loss异常打印

REJECTED
Bug-Report
创建于  
2023-10-16 14:52
name about labels
Bug Report Use this template for reporting a bug kind/bug

Describe the current behavior / 问题描述 (Mandatory / 必填)

facerecognition网络在910B环境训练,出现loss打印异常情况
模型仓地址:https://gitee.com/mindspore/models/tree/master/research/cv/FaceRecognition

Environment / 环境信息 (Mandatory / 必填)

  • Hardware Environment(Ascend/GPU/CPU) / 硬件环境:

Please delete the backend not involved / 请删除不涉及的后端:
/device ascend/

  • Software Environment / 软件环境 (Mandatory / 必填):
    -- MindSpore version (e.g., 1.7.0.Bxxx) :
    -- Python version (e.g., Python 3.7.5) :
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):
    -- GCC/Compiler version (if compiled from source):

run:Milan_C13/20231011
mindspore:version/202310/20231012/master_20231012211532_d6223dc8ce70f96682a5d8b6d14aed36712d8f76

  • Excute Mode / 执行模式 (Mandatory / 必填)(PyNative/Graph):

Please delete the mode not involved / 请删除不涉及的模式:

/mode graph

Related testcase / 关联用例 (Mandatory / 必填)

用例仓地址:solution_test/cases/02network/00cv/facerecognition/pynative/
用例:
test_ms_usability_benchmark_graph_ascend_facerecognition_time_perf_loss_1p_0001

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

  1. get code from models
  2. cd models/research/cv/FaceRecognition
  3. bash run_standalone_train_base.sh DEVICE_ID
    4.验证网络是否训练成功
  4. 验证网络loss是否正常

Describe the expected behavior / 预期结果 (Mandatory / 必填)

网络训练成功,loss正常

Related log / screenshot / 日志 / 截图 (Mandatory / 必填)

2023-10-16 10:10:55,584:INFO:epoch[0], iter[10], loss:(Tensor(shape=[], dtype=Float32, value= 46.9084), Tensor(shape=[], dtype=Bool, value= True), Tensor(shape=[], dtype=Float32, value= 64)), cur_lr:0.000082, mean_fps:11.85 imgs/sec
2023-10-16 10:10:58,011:INFO:epoch[0], iter[20], loss:(Tensor(shape=[], dtype=Float32, value= 46.801), Tensor(shape=[], dtype=Bool, value= False), Tensor(shape=[], dtype=Float32, value= 16)), cur_lr:0.000163, mean_fps:893.01 imgs/sec

Special notes for this issue/备注 (Optional / 选填)

走给杨威

评论 (3)

zhangjie18 创建了Bug-Report
zhangjie18 添加了
 
kind/bug
标签
zhangjie18 添加了
 
v2.2.0
标签
zhangjie18 添加了
 
attr/function
标签
zhangjie18 添加了
 
stage/func-debug
标签
zhangjie18 添加了
 
sig/modelzoo
标签
展开全部操作日志

Please assign maintainer to check this issue.
请为此issue分配处理人。
@zhangjie18

感谢您的反馈,您可以评论//mindspore-assistant更快获取帮助,更多标签可以查看标签列表

  1. 如果您刚刚接触MindSpore,或许您可以在教程找到答案
  2. 如果您是资深Pytorch用户,您或许需要:
    与PyTorch典型区别 / PyTorch与MindSpore API映射表
  3. 如果您遇到动态图问题,可以设置mindspore.set_context(pynative_synchronize=True)查看报错栈协助定位
  4. 模型精度调优问题可参考官网调优指南
  5. 如果您反馈的是框架BUG,请确认您在ISSUE中提供了MindSpore版本、使用的后端类型(CPU、GPU、Ascend)、环境、训练的代码官方链接以及可以复现报错的代码的启动方式等必要的定位信息
  6. 如果您已经定位出问题根因,欢迎提交PR参与MindSpore开源社区,我们会尽快review
xiangminshan 负责人xiangminshan 修改为weiyang
xiangminshan 添加了
 
sig/910B
标签
zhangjie18 负责人weiyang 修改为zhangjie18
zhangjie18 添加协作者weiyang
zhangjie18 里程碑B-SIG-TBD 修改为B-SolutionTest

此单为非问题,loss取得视是value对应得值,loss是达标得,测试这边搞错了

zhangjie18 任务状态TODO 修改为REJECTED

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(4)
11016979 xiangmd 1654824581
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore

搜索帮助

344bd9b3 5694891 D2dac590 5694891