11 Star 55 Fork 20

MindSpore / xai

 / 详情

[MDT][MS][XAI] xai官网mindspore_xai.benchmark样例代码在ascend执行报错

DONE
Bug-Report
创建于  
2023-01-31 19:21
name about labels
Bug Report Use this template for reporting a bug kind/bug

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

xai api样例代码 mindspore_xai.benchmark.ClassSensitivity 在ascend执行报错

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) :mindspore 2.0.0.20230130 [sha1]:9aaa6730 xai 2.0.0.20230130
    -- Python version (e.g., Python 3.7.5) :3.9.11
    -- OS platform and distribution (e.g., Linux Ubuntu 16.04):
    -- GCC/Compiler version (if compiled from source):

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

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

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

test_doctest_mindspore_xai_benchmark_attribution_class_sensitivity

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

  1. 复制mindspore_xai.benchmark.ClassSensitivity 样例代码
  2. 样例代码中的LeNet5 在models仓里倒入
  3. 在910环境运行样例代码

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

样例代码正常执行,无报错

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

输入图片说明
输入图片说明

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

评论 (2)

朱恒超 创建了Bug-Report
朱恒超 添加了
 
kind/bug
标签
朱恒超 添加了
 
kind/ci
标签
朱恒超 添加了
 
v2.0.0.rc1
标签
朱恒超 添加了
 
stage/func-debug
标签
朱恒超 添加了
 
sig/security
标签
朱恒超 添加了
 
attr/function
标签
ZhidanLiu 任务状态TODO 修改为WIP
展开全部操作日志
Mike Cheung 任务状态WIP 修改为VALIDATION
ZhidanLiu 里程碑B-SIG-Security 修改为B-MDT
ZhidanLiu 添加协作者ZhidanLiu
ZhidanLiu 负责人ZhidanLiu 修改为朱恒超
ZhidanLiu 取消协作者ZhidanLiu
ZhidanLiu 添加了
 
rct/oldrelease
标签
ZhidanLiu 添加了
 
rca/others
标签
ZhidanLiu 添加了
 
ctl/solutiontest
标签
朱恒超 添加协作者朱恒超
朱恒超 负责人朱恒超 修改为yangting

Regression Time: 2023/02/18
Regression Version: 20230217 mindspore&xai
Regression Step: 安装xai以及minspore 版本包,执行minddata test代码仓的test_doctest_mindspore_xai.py用例。
执行结果:pass,无异常报错触发。

yangting 任务状态VALIDATION 修改为DONE

登录 后才可以发表评论

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

搜索帮助

53164aa7 5694891 3bd8fe86 5694891