PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

运行分割模型pspnet报错

Open peach-xiao opened this issue 2 years ago • 1 comments

我在使用PSPNet运行自己的数据集,实在是没有找到为什么optimizer.step()这里会出现TypeError: 'str' object is not callable错误,我尝试着将Image和label的值都打印出来查看了,里面是有值的,计算的loss也是有值的,这可能是哪里出现了问题呢?希望可以得到帮助

注意:我没有改动任何和模型有关的文件,仅仅修改了配置相应的.yml文件和加载数据集的.py文件,下面是报错的信息:

image image

这是我加载的数据集文件(已做修改) image image

配置文件pspnet.yml信息

image image

期待您的回复,万分感谢!!!

peach-xiao avatar Jun 16 '22 07:06 peach-xiao

image 这个改成1.0e-4

wuyefeilin avatar Jun 17 '22 02:06 wuyefeilin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 09 '22 17:12 github-actions[bot]