Unexpected output from Resize #1554
-
Hi, Thank you for the nice library! I am trying to make some course material and started playing with the library. I am still not used to it and this question might me being not familiar enough with
This is the output:
Output supposed to be |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Channel normally comes first, so here it assumes you have 256 channels and each image is 256x256 spatially. If you put in an We also have a |
Beta Was this translation helpful? Give feedback.
Channel normally comes first, so here it assumes you have 256 channels and each image is 256x256 spatially. If you put in an
AddChannel
transform before the resizer, I think that'll solve your problem.We also have a
Compose
transform, so once you've sorted out your teething problems, it might be simpler to do this (as you can execute all transforms in one go).