TypeError: Can not select a valid kernel info for [ReduceProd] in AI CORE or AI CPU kernel info candidates list
收藏回复举报
TypeError: Can not select a valid kernel info for [ReduceProd] in AI CORE or AI CPU kernel info candidates list
t('forum.solved') 已解决
新人帖
发表于2023-07-14 16:11:39
0 查看

所用环境:MindSpore-Ascend 1.10.1, python3.7.10

错误截图:

%E6%8D%95%E8%8E%B7.PNG

排查工作:对输入到网络中的所有数据,都查看了dtype。只有初始输入为Int64,后续都是float类型。并且在debug的时候,将出书输入都astype成int32时,还是会出现以上错误。

我要发帖子