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

we need Image preprocessing method #28

Closed
MokkeMeguru opened this issue Mar 15, 2020 · 1 comment
Closed

we need Image preprocessing method #28

MokkeMeguru opened this issue Mar 15, 2020 · 1 comment

Comments

@MokkeMeguru
Copy link

Hello, I try to find the method of transforming a discrete image to a continuous image.
So, I want to know how to implement like the preprocess method such as

Thanks!

@ardizzone
Copy link
Member

Hi, the easy way is to just copy the first function that you linked, and apply it to the input before you give it to the INN.
(And when sampling, apply the inverse).

Otherwise, if you want to have this in FrEIA.modules, either you can do it yourself, and we would be thrilled to receive a pull-request. Or you can raise it as a feature-request issue in https://github.com/VLL-HD/FrEIA-community , then we will try to assign some one to implement it.

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