Giter VIP home page Giter VIP logo

Comments (5)

rinongal avatar rinongal commented on June 15, 2024

These are a bit tricky to release since they were trained on some proprietary images and I'm not sure about the legalities involved. I'll ask but it might take some time. If you just want to use them on your own images, our replicate version has them set up.

from stylegan-nada.

kasim0226 avatar kasim0226 commented on June 15, 2024

Thank you for your reply.

  1. Could I knoe how you train those results?
    Is it something likes this? (only change target_class)

python train.py --size 1024
--batch 2
--n_sample 4
--output_dir /path/to/output/dir
--lr 0.002
--frozen_gen_ckpt /path/to/stylegan2-ffhq-config-f.pt
--iter 301
--source_class "photo"
--target_class "shrek"
--auto_layer_k 18
--auto_layer_iters 1
--auto_layer_batch 8
--output_interval 50
--clip_models "ViT-B/32" "ViT-B/16"
--clip_model_weights 1.0 1.0
--mixing 0.0
--save_interval 150

  1. what is diiferent between 'image' in red and 'text' in red in the following figure?
    image

  2. You used ffhq pretrained Restyle instead of training it for each face domain, am I right?

from stylegan-nada.

rinongal avatar rinongal commented on June 15, 2024

The examples under the image block used a target image (i.e. using the --style_img_dir /path/to/img/dir option. I can't supply the images since they were shamelessly taken from the internet and I do not own the rights. The images under the text block used zero-shot text targeting.

Differences between your command and what we used for the image-based examples are just in the number of training iterations (and the need for style image targets):
Shrek: --iter 601
Witcher: --iter 401
Joker: --iter 601
Thanos --iter 601

For the text target ones - those should be available in our drive, and the parameters for most of them are in our paper's supplementary, If you want one that isn't in the drive / want me to look up the specific commands to train them, let me know and I'll have a look.

from stylegan-nada.

rinongal avatar rinongal commented on June 15, 2024

Regarding ReStyle - yes, we used the pre-trained FFHQ versions. ReStyle-e4e (and e4e itself) typically have better results than the pSp variants. You can also have a look at HyperStyle which works with NADA models as well.

from stylegan-nada.

kasim0226 avatar kasim0226 commented on June 15, 2024

Thank you for your detailed reply.

from stylegan-nada.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.