-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Added resume training args to run_training #11
base: master
Are you sure you want to change the base?
Conversation
is there any way to train custom dataset on 1 GPU of RTX 2080 Ti ? |
Try lowering these numbers in the file directly: https://github.com/NVlabs/stylegan2/blob/master/run_training.py#L54 I haven't tried it, but this may work. |
thank you very much, I will try that |
This is a repository for StyleGAN2 and the encoder you linked is for the original StyleGAN, probably that's why they have different shapes. For this purpose I was using a pytorch implementation from here: https://github.com/Tetratrio/stylegan2_pytorch and just made it save the latent space into a numpy file using these two lines in run_projector.py, project_images function: (Sorry if formatting is messed up, posting from mobile) |
Dear @ashirviskas , |
Can anyone help? Since google colab has removed the free RAM upgrade to 25GB, I am not able to train my model. I am training using a pretrained model that was trained on 512x512 images but it couldn't get past the 1st iteration it always go over the RAM limit (12.72GB) crashing the notebook, I tried adjusting
to no success including setting both to a value of 2. |
Does stylegan2 allow us to condition on the class label? And can I generate samples for a particular class? |
Having same question here. Any insights would be greatly appreciated/ |
You have a few options:
|
@ahmedshingaly hi |
hi dear @ashirviskas @ahmedshingaly @YukiSakuma @ricshaw @JanineCHEN I am using these: I would really appreciate if you could help on this issue. |
A complete version of his PR: #6