How to generate using your own sketches?
Is it possible to generate cats by providing my own sketches? Looking at the code it seems that all sketches are hardcoded, but maybe I'm missing something.
Yes, feel free to create you own sketches using some drawing softwares and save them into png files. You can select a similar stroke size as the ones in the released dataset
Glad to hear that, but how? Taking a look at generator.py I'm not able to understand how I can pass my own sketches. I would like to draw my own cat and apply your model, but how to do it is not described (or, probably, I'm missing something)
Actually, you might want to look into our example training script. For example, this one: https://github.com/PeterWang512/GANSketching/blob/main/scripts/train_authorsketch_ffhq0.sh
Changing --dataroot_sketch to your own sketches could work. You need to make a folder of your own sketches, and to do that you can check how the released dataset is organized.
Tnx, I will check and let you know!
Il gio 17 feb 2022, 00:46 Sheng-Yu Wang @.***> ha scritto:
Actually, you might want to look into our example training script. For example, this one: https://github.com/PeterWang512/GANSketching/blob/main/scripts/train_authorsketch_ffhq0.sh
Changing --dataroot_sketch to your own sketches could work. You need to make a folder of your own sketches, and to do that you can check how the released dataset is organized.
— Reply to this email directly, view it on GitHub https://github.com/PeterWang512/GANSketching/issues/11#issuecomment-1042417513, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4TPLQW3XMLNBGPOZRWAFTU3QZONANCNFSM5NLP75UQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
Did you manage to do it? If you did, can you explain how?
For example, for the models shown in the teaser figure, we created the sketches using MS paint. But you can use other sketching tool to create your own sketches.