解决DHSNet ValueError: operands could not be broadcast together with shapes (224,224) (3, ) (224,224)

最近在复现DHSnet-pytorch模型,代码调试过程中遇到如下错误: ValueError: operands could not be broadcast together with shapes (224,224) (3, ) (224,224) 通过错误描述可知该问题出现在 dataset.py 文件的第56行: 该函数的功能是将输入图片和ground truth 进行真值处理,以增强物
相关文章
相关标签/搜索