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

About image translation #4

Open
EthanG97 opened this issue Dec 14, 2021 · 7 comments
Open

About image translation #4

EthanG97 opened this issue Dec 14, 2021 · 7 comments

Comments

@EthanG97
Copy link

I see you mentioned the model is applicable to image translation in the paper. How to implement it?
Thanks

@jychoi118
Copy link
Owner

Hi, you just need to provide a source image as a input reference image

@EthanG97
Copy link
Author

Just for making sure, so I need to prepare the source image and run the ilvr_sample.py as you showed as an example, right?

@jychoi118
Copy link
Owner

Yes, that's correct

@shahdghorsi
Copy link

Just for making sure, so I need to prepare the source image and run the ilvr_sample.py as you showed as an example, right?

Hello @EthanG97 were you able to run the sampler? each time I run it runs for hours without iterating or generating any output :(

@jychoi118
Copy link
Owner

Hello @shahdghorsi , did you place your input images into a folder ref_imgs/?
Or did you set PYTHONPATH variable before running the script?

@shahdghorsi
Copy link

shahdghorsi commented Jul 25, 2022

Hello @shahdghorsi , did you place your input images into a folder ref_imgs/? Or did you set PYTHONPATH variable before running the script?
Hi, yes I did all of these. I actually left the ref_imgs/ as it is initially just to text with the given images under the folders. cat, face and portrait.

The output is as follows:
Screenshot 2022-07-25 at 17 50 12

@shahdghorsi
Copy link

It turned out that the reason behind this is the big "diffusion_steps" if anyone is using a slow GPU it might take hours to generate

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

3 participants