8000 GitHub - lightChaserX/DisCO: [IJCV 2024] DisCO: Portrait Distortion Correction with Perspective-Aware 3D GANs
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[IJCV 2024] DisCO: Portrait Distortion Correction with Perspective-Aware 3D GANs

Notifications You must be signed in to change notification settings

lightChaserX/DisCO

8000

Repository files navigation

DisCO: Portrait Distortion Correction with Perspective-Aware 3D GANs

arXiv visitors project

Zhixiang Wang1,2, Yu-Lun Liu3, Jia-Bin Huang4, Shin'ichi Satoh2,1, Sizhuo Ma5,
Guru Krishnan5, Jian Wang5

1University of Tokyo  2NII  3NYCU  4University of Maryland, College Park  5Snap Inc.

image

📖Table Of Contents

🆕Update

  • 2025.02.04: ✅ Inversion code release.
  • 2024.01.03: 🚀 Paper is accepted to IJCV.

TODO

  • Full system release
  • Killer video release
  • Hugging Face demo release

⚙️Installation

  1. Clone EG3D and ensure Deep3DFaceRecon_pytorch properly initialized
git clone https://github.com/NVlabs/eg3d.git
cd eg3d
git submodule update --init --recursive
  1. Download the checkpoint on FFHQ from NGC Catalog
wget --content-disposition 'https://api.ngc.nvidia.com/v2/models/org/nvidia/team/research/eg3d/1/files?redirect=true&path=ffhq512-128.pkl' -O ffhq512-128.pkl

cd ..
  1. Clone this repo and install environment
git clone git@github.com:lightChaserX/DisCO.git
cd DisCO
conda env create -f environment.yml

🛫Quick Start

  1. Modify example_configs/config.py accordingly, including the path to input images, pre-trained model weight, etc
  2. Process your data
python process_in_one_time.py example_configs/config.py
  1. Run the following command
python run_in_one_time.py

Citation

If you find our work useful, please kindly cite as:

@article{wang2024disco,
      title={DisCO: Portrait Distortion Correction with Perspective-Aware 3D GANs},
      author={Wang, Zhixiang and Liu, Yu-Lun and Huang, Jia-Bin and Satoh, Shin'ichi and Ma, Sizhuo and Krishnan, Guru and Wang, Jian},
      journal={International Journal of Computer Vision},
      year={2024}
    }

Acknowledge

This code is built on the following code base EG3D, PTI, STIT, and 3d-photo-inpainting. Our functionality also depends on MiDaS for depth estimation, MODNet for image matting, SD1.5 or DALLE2 for background inpainting.

About

[IJCV 2024] DisCO: Portrait Distortion Correction with Perspective-Aware 3D GANs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0