Skip to content

Conversation

DmitryUlyanov
Copy link
Contributor

This is useful, especially because 2 month ago the default color for padded pixels was white, while now I see black borders by default and cannot change it.



def make_grid(tensor, nrow=8, padding=2,
def make_grid(tensor, nrow=8, padding=2, pad_value=0,

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.



def make_grid(tensor, nrow=8, padding=2,
def make_grid(tensor, nrow=8, padding=2, pad_value=0,

This comment was marked as off-topic.

@fmassa
Copy link
Member

fmassa commented Apr 7, 2017

Could you also add the new parameter to README.rst? I don't think the README is autogenerated ATM...
After that, it's good to go!

@fmassa fmassa merged commit 3549aef into pytorch:master Apr 7, 2017
@fmassa
Copy link
Member

fmassa commented Apr 7, 2017

Thanks!

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