Skip to content

Invalid shape for image data #8

Answered by JJGO
MuradOmarov asked this question in Q&A
Discussion options

You must be logged in to vote

While the model can handle inputs of any size due to its fully convolutional architecture, I don't anticipate the performance to extrapolate well. Specifically, since the model only goes through three downsampling steps (8x reduction), the bottleneck resolution in your images would be 62x55, which might not capture enough visual context. Although there's no harm in attempting it, I expect the model to perform better with inputs sized at 128x128.

Another option to address the downsampling issue is to employ patch-based segmentation. This involves dividing the original images into 128x128 patches and then combining the predictions. Additionally, this approach would allow you to increase the…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by JJGO
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants