毕不了业的硏䆒僧的博客明明读取出的图片是(112,112,3)的格式,但是当用transforms.Compose()将PLI图片转为tensor时会提示错误:RuntimeError: output with shape [1, 112, 112] doesn't match the broadcastshape [3, 112, 112]输入...
鸽泣的博客Error:output with shape [1, 224, 224] doesn't match the broadcastshape [3, 224, 224] 原模型输入的图片为RGB三通道,输入的为单通道灰度图片。 # Error:output with shape [1, 224, 224] doesn't match the ...