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

Question regarding transparent images #43

Closed
NickAcPT opened this issue Apr 11, 2020 · 11 comments
Closed

Question regarding transparent images #43

NickAcPT opened this issue Apr 11, 2020 · 11 comments

Comments

@NickAcPT
Copy link

Is it possible to use this project to generate images with transparency?

@lucidrains
Copy link
Owner

lucidrains commented Apr 13, 2020

it should be possible! do you have a good dataset?

edit - possible after some code modifications

@NickAcPT
Copy link
Author

NickAcPT commented Apr 13, 2020

I have a dataset with 400k 64x64 images with transparency. It is 700 mb I think

The problem is that I've been training StyleGAN with them already. Guess I'll need to restart.

@lucidrains
Copy link
Owner

Could you send me a small subset (like 100 samples) of your dataset? I'm thinking perhaps with a flag like --with-transparency, and images will be stored as PNGs

@NickAcPT
Copy link
Author

Sorry for the huge delay.
Here is a small subset of my dataset with 100 files.

Also, I'll have to restart training and scrap my trained model, right?

@lucidrains
Copy link
Owner

@NickAcPT Stylegan1 isn't too bad! Why not keep training with the old model?

@NickAcPT
Copy link
Author

NickAcPT commented Apr 13, 2020

What about transparency then?

Also, I forgot to type the 2 in front of StyleGAN. I've used this project to train it.

@lucidrains
Copy link
Owner

@NickAcPT Oh I see, I thought you meant the official repo. Ok, will add!

@lucidrains
Copy link
Owner

@NickAcPT here you go! a86eef2

@NickAcPT
Copy link
Author

Thanks a lot!
Regarding the already trained set, the best is to retrain from scratch, right?

@lucidrains
Copy link
Owner

@NickAcPT yes! you will have to restart!

@NickAcPT
Copy link
Author

Once again, thanks a lot!

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