Skip to content
This repository has been archived by the owner on Jul 2, 2021. It is now read-only.

Add write_image #377

Merged
merged 7 commits into from
Aug 8, 2017
Merged

Add write_image #377

merged 7 commits into from
Aug 8, 2017

Conversation

Hakuyume
Copy link
Member

@Hakuyume Hakuyume commented Aug 7, 2017

No description provided.


Args:
image (~numpy.ndarray): An image to be saved.
path (str): A path of image file.
Copy link
Member

Choose a reason for hiding this comment

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

the image file

Copy link
Member

Choose a reason for hiding this comment

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

Sorry.
The path of an image file.

def write_image(img, path):
"""Save an image to a file.

This function saves an image to given file. The image is CHW format and
Copy link
Member

Choose a reason for hiding this comment

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

The image is in CHW format

@yuyu2172
Copy link
Member

yuyu2172 commented Aug 7, 2017

LGTM other than very small comments.
Great PR.

@yuyu2172
Copy link
Member

yuyu2172 commented Aug 7, 2017

Sorry. You didn't reflected the appended comment #377 (comment).

@yuyu2172
Copy link
Member

yuyu2172 commented Aug 8, 2017

LGTM

@yuyu2172 yuyu2172 added this to the v0.7 milestone Aug 8, 2017
@yuyu2172 yuyu2172 merged commit a774e65 into chainer:master Aug 8, 2017
@Hakuyume Hakuyume deleted the add-write-image branch August 8, 2017 02:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants