From 5c2c28dc420b36e9aa58a5d28a8f0144cca2b2b0 Mon Sep 17 00:00:00 2001 From: LeoXing1996 Date: Sun, 25 Jun 2023 19:10:49 +0800 Subject: [PATCH] add gradio demo entry to README --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2cc9b0a..4adcb8f 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ To download pre-trained weights, simply run: ```sh sh scripts/download_model.sh ``` -If you want to try StyleGAN-Human and the Landscapes HQ (LHQ) dataset, please download weights from these links: [StyleGAN-Human](https://drive.google.com/file/d/1dlFEHbu-WzQWJl7nBBZYcTyo000H9hVm/view?usp=sharing), [LHQ](https://drive.google.com/file/d/16twEf0T9QINAEoMsWefoWiyhcTd-aiWc/view?usp=sharing), and put them under `./checkpoints`. +If you want to try StyleGAN-Human and the Landscapes HQ (LHQ) dataset, please download weights from these links: [StyleGAN-Human](https://drive.google.com/file/d/1dlFEHbu-WzQWJl7nBBZYcTyo000H9hVm/view?usp=sharing), [LHQ](https://drive.google.com/file/d/16twEf0T9QINAEoMsWefoWiyhcTd-aiWc/view?usp=sharing), and put them under `./checkpoints`. Feel free to try other pretrained StyleGAN. @@ -33,6 +33,11 @@ sh scripts/gui.sh This GUI supports editing GAN-generated images. To edit a real image, you need to first perform GAN inversion using tools like [PTI](https://github.com/danielroich/PTI). Then load the new latent code and model weights to the GUI. +You can run DragGAN Gradio demo as well: +```sh +python visualizer_drag_gradio.py +``` + ## Acknowledgement This code is developed based on [StyleGAN3](https://github.com/NVlabs/stylegan3). Part of the code is borrowed from [StyleGAN-Human](https://github.com/stylegan-human/StyleGAN-Human). @@ -48,7 +53,7 @@ Any form of use and derivative of this code must preserve the watermarking funct ```bibtex @inproceedings{pan2023draggan, - title={Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold}, + title={Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold}, author={Pan, Xingang and Tewari, Ayush, and Leimk{\"u}hler, Thomas and Liu, Lingjie and Meka, Abhimitra and Theobalt, Christian}, booktitle = {ACM SIGGRAPH 2023 Conference Proceedings}, year={2023}