yuval-alaluf / stylegan3-editing

Official Implementation of "Third Time's the Charm? Image and Video Editing with StyleGAN3" (AIM ECCVW 2022) https://arxiv.org/abs/2201.13433
https://yuval-alaluf.github.io/stylegan3-editing/
MIT License
660 stars 72 forks source link

encoder_bootstrapping_inference for SG3 #22

Closed ghost closed 2 years ago

ghost commented 2 years ago

hello, I missed the encoder_bootstrapping_inference in this sg3 application I don't know if it's in the standard you work with, but for anyone interested it should work I tried to publish a code that I've been working on Computing landmarks transforms multithreading on CPU but my account is blocked Hotnikq on github

/stylegan3-editing/encoder_bootstrapping_inference.py /stylegan3-editing/utils/bootstrap_utils.py /stylegan3-editing/inversion/models/psp32.py /stylegan3-editing/inversion/options/train_options.py /stylegan3-editing/inversion/options/test_options.py

python encoder_bootstrapping_inference.py \
--output_path experiments \
--checkpoint_path pretrained_models/sg3_ffhq_256.pt \
--checkpoint_path2 pretrained_models/sg3_toonify_256.pt \
--data_path ffhq \
--test_batch_size=4 \
--test_workers=8 \
--resize_outputs=256\
--n_iters_per_batch=4
yuval-alaluf commented 2 years ago

@hqnicolas Since this is not an issue with this repository, I recommend creating a fork of this repository and making all your changes there. You can make all the changes you want there independent of this repository. Thanks

ghost commented 2 years ago

@yuval-alaluf Please unblock the Hotnikq on github account so that I can make a FORK and put the codes available to those who are interested in running these functions like bootstrap and landmarks transforms multithreading