昇思MindSpore论坛
MindSpore模型推理时输出张量形状异常ValueError: shapes (32,10) and (32,10,1,1) not aligned
经验分享 Tech Blogs
推理经验-Inference Experience
kang_zl
(Kang Zl)
2026 年3 月 1 日 05:24
2
参与帖子:
MindSpore模型推理时ValueError: shapes (32,10) and (32,10,1,1) not aligned分析和解决
在话题中显示帖子
相关话题
话题
回复
浏览量
时间点
维度数错误引起模型输入错误:For primitive[Conv2D], the x shape size must be equal to 4, but got 3.
模型训练-Model Training
0
15
2025 年9 月 18 日
Tensor张量shape不匹配导致执行报错:ValueError:x.shape和y.shape不能广播
模型训练-Model Training
0
20
2025 年8 月 12 日
MindSpore报错ValueError: For 'MatMul', the input dimensions must be equal, but got 'x1_col': 12800 and 'x2_row': 10
模型训练-Model Training
0
33
2025 年8 月 9 日
MindSpore报错ValueError: For 'Mul', x.shape and y.shape are supposed to broadcast
功能调试-Function Debugging
0
24
2025 年8 月 4 日
MindSpore报错ValueError:输出形状的每一个值都应该大于零, 实际出现了负数
模型训练-Model Training
0
18
2025 年9 月 6 日