Skip to content
Discussion options

You must be logged in to vote

Hey @soumbane ,

Maybe the docs could help you. SaveImage docs

The Parameters of call of the SaveImage Class is img and meta_data where the requirements of img are as following:

img (Union[Tensor, ndarray]) – target data content that save into file. The image should be channel-first, shape: [C,H,W,[D]].

shape is [C,H,W,[D]], but yours is [H, W, D].

Hope this is useful to you.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Nic-Ma
Comment options

@soumbane
Comment options

Answer selected by soumbane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants