bnsreenu / python_for_microscopists

https://www.youtube.com/channel/UC34rW-HtPJulxr5wp2Xa04w?sub_confirmation=1
MIT License
3.91k stars 2.39k forks source link

Smooth tiled predictions error - TypeError: Invalid shape (1024, 1024, 5) for image data #39

Open BecLR opened 2 years ago

BecLR commented 2 years ago

Please help! I really want to get smooth predictions on my images. My images only have 3 channels, and I keep getting this error after the smooth blending step

Jigeeshu commented 1 year ago

I am also getting the same error and it is difficult to debug because, the code for smooth prediction with tiles patches is quite complex. @bnsreenu, your help here will be much appreciated. If you need any other information, I will be happy to provide it.