Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DANet 训练出错 #8

Open
migi123-max opened this issue Sep 17, 2020 · 0 comments
Open

DANet 训练出错 #8

migi123-max opened this issue Sep 17, 2020 · 0 comments

Comments

@migi123-max
Copy link

你好,我把train.ipynb文件转成.py文件后,参数BatchSize = 8 NumChannels = 3 ImgHeight = 256 ImgWidth = 256 NumClass = 1其中修改处为图片尺寸256,BatchSize8。运行出现错误InvalidArgumentError: Incompatible shapes: [8,256,256,1] vs. [8,256,256,1,3],[[Node: metrics/iou/sub_1 = Sub[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"](Classification/Sigmoid, metrics/iou/Round_2)]]. 请问您有遇到过此情况吗?(刚接触深度学习,很多地方不懂,网上未找到相似问题,不得已问您,求赐教)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant