Added Colab notebooks for easy training and generation#14
Conversation
|
Any movement on this? Please review and approve. I would be proud to say I contributed to this revolutionary repo. It opened my mind to the possibilities of AI. |
|
how can I create stylegan model with (1, 18, 512) in more details: |
|
Thank you for providing these colab notebooks, helped me get started training my own models. Do you know if it is possible to condition on a particular class? And how to generate images for a specific class? |
|
@ahmedshingaly No I do not, sorry! @ricshaw I'm glad they helped you! The thing about StyleGAN is that it's unsupervised, meaning there are no classes. If you want to generate a certain class of images, you would need to train on images consisting entirely of that class. I could be wrong though: I seem to remember a video online of them selecting certain features, but I am not sure how to do that. Sorry! |
|
One more question: do you know how to continue training from an existing checkpoint? |
|
@ricshaw I'm sorry, but I don't. As near as I can tell, train.py looks for previous "runs" folders and then loads .pkl and .tfrecord files from there. If you pay for colab pro, you can train for 24 hours straight. One idea might be:
This is just based on what I read in the training/misc.py file |
Added 2 Colab notebooks, one for training and one for generation. colab_generate.py and colab_train.py are modified versions of pretrained_example.py and train.py respectively, modified to work with these 2 colab notebooks.