name | about | labels |
---|---|---|
Bug Report | Use this template for reporting a bug | kind/bug |
CNN+CTC图像文本识别教程在GPU上pynative模式loss异常
教程地址:https://www.mindspore.cn/tutorials/application/zh-CN/master/cv/cnnctc.html
Ascend
/GPU
/CPU
) / 硬件环境:Please delete the backend not involved / 请删除不涉及的后端:
/device GPU
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):
失败版本:r2.2.14_B020_4f30cd5f
成功版本:r2.2.14_20240411_5fe9f78
Excute Mode / 执行模式 (Mandatory / 必填)(PyNative
/Graph
):
Please delete the mode not involved / 请删除不涉及的模式:
/mode pynative
用例路径:solution_test/cases/03subject_test/06document/02network_cases
关联用例:test_ms_tutorial_cv_cnnctc_0001.py
loss正常,没有nan,没有跑飞
Epoch:[ 1/ 1], step:[ 0/ 900], loss:17.578381 , time:9.384813s, lr:0.000242
Epoch:[ 1/ 1], step:[ 1/ 900], loss:19.287563 , time:7.786807s, lr:0.000242
Epoch:[ 1/ 1], step:[ 2/ 900], loss:6.447821 , time:7.435512s, lr:0.000241
Epoch:[ 1/ 1], step:[ 3/ 900], loss:3801.375000 , time:7.212307s, lr:0.000241
Epoch:[ 1/ 1], step:[ 4/ 900], loss:3535.816406 , time:6.339440s, lr:0.000241
Epoch:[ 1/ 1], step:[ 5/ 900], loss:3620.348389 , time:3.972797s, lr:0.000241
Done!
Parameters loaded! from: ./cnnctc.ckpt
accuracy: 0.5211
time:22.69s
Predict: ['parking']
走给吕昱峰
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
感谢您的提问,您可以评论//mindspore-assistant更快获取帮助:
登录 后才可以发表评论