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

How to use custom pictures? #8

Open
rgzn-aiyun opened this issue Nov 18, 2021 · 4 comments
Open

How to use custom pictures? #8

rgzn-aiyun opened this issue Nov 18, 2021 · 4 comments

Comments

@rgzn-aiyun
Copy link

Hello, can you use custom pictures for reasoning?

@mchong6
Copy link
Owner

mchong6 commented Nov 18, 2021

You can use custom images by doing GAN inversion. You can try using projector.py in this repo for that (details in README) or use any other standard GAN inversion techniques. Do note that the current stylegan2 I use is 256x256 while many GAN inversion (such as e4e) uses 1024x1024.

You should also be able to run my method on 1024x1024 images if you swap out the pretrained models

@rgzn-aiyun
Copy link
Author

You can use custom images by doing GAN inversion. You can try using projector.py in this repo for that (details in README) or use any other standard GAN inversion techniques. Do note that the current stylegan2 I use is 256x256 while many GAN inversion (such as e4e) uses 1024x1024.

You should also be able to run my method on 1024x1024 images if you swap out the pretrained models

Why does it take half an hour to generate after running?

@mchong6
Copy link
Owner

mchong6 commented Nov 20, 2021

It shouldnt take that long, are you using a GPU?

@rgzn-aiyun
Copy link
Author

It shouldnt take that long, are you using a GPU?

Yes, this question is weird?

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