Anyone know the input/output format for these auto-encoder onnx? #14217
Unanswered
elephantpanda
asked this question in
General
Replies: 1 comment
-
Did you try in the range [0, 1]? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am running these autoencoder onnx using Onnxruntime in c#:
I am trying to encode/decode an image of a cat just using the vae-encoder and decoder.
I am getting a blurry outcome of the reconstituted cat.
I wonder if anyone knows the correct format for the input and output tensors?
I began by encoding my image as RGB with float32 values in the range [-1,1]
And the output of the vae-decoder I was running through a sigmoid then multiplying by 255 to get pixel values.
I have a feeling this is not correct. Does anyone know the correct format for the input/output tensors?
I could even be in the wrong colour-space for example maybe it wants HSL?
Beta Was this translation helpful? Give feedback.
All reactions