Skip to content

Conversation

cocoaaa
Copy link

@cocoaaa cocoaaa commented Nov 12, 2019

Current implementation errors when the image is in 'L' mode (ie. two dimensional) because the argument fill of dtype int is always converted to a list of length 3. This expansion should not happen when image is in 'L' mode.

@pmeier
Copy link
Collaborator

pmeier commented Nov 12, 2019

I think you operated on an outdated version of the master branch. Most of your changes revert recently merged changes such as #1388.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I second @pmeier comments. Can you please rebase your changes on top of torchvision master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants