You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
should we keep the ImageShape with 3 channels or with 1 channel?
Since currently BufferredImage is used for image preprocessing, in my PR I use BufferedImage.TYPE_BYTE_GRAY and return images with one channel. If we migrate to something else, we could think about supporting 3 channels for grayscale images.
The Grayscale image preprocessor is missed in KotlinDL.
Convert image to grayscale.
The main question is: should we keep the ImageShape with 3 channels or with 1 channel? Or support the difference via parameter like in PyTorch
The desired PR addressing this issue should include:
Cropping
as reference)dataset
moduleP.S. If you want to take this ticket, please leave the comment below
P.P.S Read the Contributing Guidelines.
The reference implementation could be taken from torchvision.transforms
The text was updated successfully, but these errors were encountered: