首页 > 教育

RuntimeError:Shapenotmatching

更新时间2021-12-29 17:18:47

在飞浆进行预测的时候报错,是什么导致的啊
the Program requires a parameter with a shape of ((1256607, 128)), while the loaded parameter (namely [ @HUB_senta_bilstm@embedding_0.w_0 ]) has a shape of  ((1256606, 128))

RuntimeError: Shape not matching 运行时错误:形状不匹配


the Program requires a parameter with a shape of ((1256607, 128)), while the loaded parameter (namely [ @HUB_senta_bilstm@embedding_0.w_0 ]) has a shape of ((1256606, 128)) 程序需要一个形状为((1256607128))的参数,而加载的参数(即[@HUB_senta_bilstm@embedding_0.w_0])的形状为((1256606128))

上一篇:英语中黄头发为什么不能说yellowhair

下一篇:如何成为一个专业的烘焙师?