name | about | labels |
---|---|---|
Bug Report | Use this template for reporting a bug | kind/bug |
导出用例报错The pointer[value] is null.
Ascend
/GPU
/CPU
) / 硬件环境:Please delete the backend not involved / 请删除不涉及的后端:
/device ascend
Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 1.7.0.Bxxx) :commit_id = '[sha1]:67bcc313,[branch]:(HEAD,origin/r2.3,r2.3)'
-- 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):
Excute Mode / 执行模式 (Mandatory / 必填)(PyNative
/Graph
):
Please delete the mode not involved / 请删除不涉及的模式:
/mode pynative
/mode graph
test_export_resnet50_cifar10
1、 安装mindspore
2、 设置相应的场景参数
3、 运行用例
cd /home/jenkins/workspace/TDT_deployment/solution_test/
nosetests -s remaining/test_scripts/mindspore/features/exportmodel/test_export_resnet50_cifar10.py
用例执行成功,无异常
开发责任人:常哲睿
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
感谢您的反馈,您可以评论//mindspore-assistant更快获取帮助,更多标签可以查看标签列表:
算子动态shape整改后,onnx中的算子属性转换会失效,所有整改算子都要进行onnx的适配。
需要一个框架整体策略,请陈飞协调一下
st用例失败
tests/st/ops/cpu
test_reduce_op.py::test_reduce_any_onnx
test_reduce_op.py::test_reduce_all_onnx
[2023-11-23T19:44:14.208Z] > return self._graph_executor.get_func_graph_proto(exec_id, ir_type, incremental)
[2023-11-23T19:44:14.208Z] E RuntimeError: The pointer[value] is null.
[2023-11-23T19:44:14.208Z] E
[2023-11-23T19:44:14.208Z] E ----------------------------------------------------
[2023-11-23T19:44:14.208Z] E - Framework Unexpected Exception Raised:
[2023-11-23T19:44:14.208Z] E ----------------------------------------------------
[2023-11-23T19:44:14.208Z] E This exception is caused by framework's unexpected error. Please create an issue at https://gitee.com/mindspore/mindspore/issues to get help.
[2023-11-23T19:44:14.208Z] E
[2023-11-23T19:44:14.208Z] E ----------------------------------------------------
[2023-11-23T19:44:14.208Z] E - C++ Call Stack: (For framework developers)
[2023-11-23T19:44:14.208Z] E ----------------------------------------------------
[2023-11-23T19:44:14.208Z] E mindspore/core/ir/anf.h:909 GetValue
[2023-11-23T19:44:14.208Z]
[2023-11-23T19:44:14.208Z] /home/jenkins/.local/lib/python3.7/site-packages/mindspore/common/api.py:1671: RuntimeError
[2023-11-23T19:44:14.208Z] =============================== warnings summary ===============================
[2023-11-23T19:44:14.208Z] /home/jenkins/.local/lib/python3.7/site-packages/pandas/compat/__init__.py:124
[2023-11-23T19:44:14.208Z] /home/jenkins/.local/lib/python3.7/site-packages/pandas/compat/__init__.py:124: UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.
[2023-11-23T19:44:14.208Z] warnings.warn(msg)
[2023-11-23T19:44:14.208Z]
[2023-11-23T19:44:14.208Z] -- Docs: https://docs.pytest.org/en/latest/warnings.html
[2023-11-23T19:44:14.208Z] =========================== short test summary info ============================
[2023-11-23T19:44:14.208Z] FAILED test_reduce_op.py::test_reduce_all_onnx - RuntimeError: The pointer[va...
onnx导出问题,后续待评审
bert网络在GPU/CPU上导出onnx时也报错The pointer[value] is null
关联用例:solution_test/cases/02network/02nlp/bert/export/test_ms_bert_classifier_bert_export_onnx_0001.py
test_export_net
CCB结论:转需求 —— 郭琦、陈飞、常哲睿
https://e.gitee.com/mind_spore/issues/list?issue_type_category=requirement&issue=I8Q8AD
登录 后才可以发表评论