Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with the inference result #38

Closed
wen020 opened this issue Oct 11, 2024 · 1 comment
Closed

There is a problem with the inference result #38

wen020 opened this issue Oct 11, 2024 · 1 comment

Comments

@wen020
Copy link

wen020 commented Oct 11, 2024

I used the following script to inference, but the resulting image was white. Does anyone know what the problem is?
code
code.zip
input
2 (1)

output
reconstructed_image2

@RobertLuo1
Copy link
Collaborator

Hi, Thanks for your attention to our work. I have read through your code, and I find that you should normalize the image in the range of (-1, 1) before inputting it into the model. And can you provide this image? By the way, can you please give us a star if it is helpful. :)

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

No branches or pull requests

2 participants