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 create dataset with label #22
Comments
Here is my jupter notebook to create conditional datasets. Note: this will not work out-of-the-box with StyleGAN's default dataloader, I'm using a tf_raw format, simply replace the dataset_tool.py file with this one and it should work. Main benefit of the raw_tfrecords is that they are about ~10 times smaller than the original tfrecs which is insanely helpful if you ask me... |
@tr1pzz thank you , I will try it . If I want to finetune stylegan2 checkpoint with conditional dataset , can I still use the same pretrained checkpoints with unconditional dataset? |
@tr1pzz Hi, my data is gray image ,so it PIL.image.open(file) have a (256, 256) and but when I try finetuning , has a error about dataset.load_dataset() function
then I debug and found : original dataset_tool.py output is multi-resolution tfrreconrd file ,but my create is only one max-resolution tfrecord file is this a problem? |
Yeah, forgot about that, you also have to update a few minor things in dataset.py |
@tr1pzz Hi ,I rewrite the data_tools.py reference create_cifar10 dataset ,and not change the dataset.py, Thank you for your help |
Hey @Johnson-yue , were you able to train the conditional version from a pretrained unconditional one? |
Hi @aiXander , can you share again the notebook to generate a conditioned GAN from an uncoditioned? |
Hi @aiXander, can you please repost the link to create conditional datasets.The above link is not working. |
no, because this not support!! there are not pretrained conditional weight for finetuning |
If I want to finetune stylegan2-ada with conditional label how I prepare dataset ??
the readem had only for cifar10 dataset with conditional but how to use for my own dataset??
what is the format of data ?
The text was updated successfully, but these errors were encountered: