-
Notifications
You must be signed in to change notification settings - Fork 681
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
Inconsistent size between output and target #17
Comments
I have the same confusion ! |
I guess you might wanna check out other issues, the similar questions have been asked for a few times. But, my question is, put the bilinear upsampling layer before the final layer or after? cuz I believe if the final output comes from a bilinear upsampling layer, the output has to be a bit coarse. |
Based on the author's reply here, it seems to be bilinear interpolation upsampling after the output |
Thanks for your reply. I've seen the issue. But it seems to be a little coarse to bilinear 4x to predict directly. I want to know whether you have some solutions to address it? |
If anyone else is wondering, how to train the model if the model output size is not equal to label size, check out this |
Hey, another place where you might want to take a look at is the initial strided convolution "block" HRNet-Semantic-Segmentation/lib/models/seg_hrnet.py Lines 414 to 419 in 77044e6
|
Hi, congrats on your great work.
I was trying to experimenting with your proposed code on a dataset other than cityscape, where I set the input image shape to be 512x512. But I see that with your default settings for the network, the output has a shape of 128x128, so do I have to add the code for upsampling manually based on your implementation?
I might me dumb somehow, but I don't see where to adjust the output shape.
Regards.
The text was updated successfully, but these errors were encountered: