Face swap with inpainting (sample code uses LCM Lora) Works with stabilityai/stable-diffusion-xl-base-1.0 and probably any base XL model tested it on a few others (do not use models for inpaint!) S...
🎨 Face Inpainting (cropped and aligned face) # For cropped and aligned faces (512x512) # Inputs could be masked by white brush using an image editing app (e.g., Photoshop) # (check out the examples in inputs/masked_faces) python inference_inpainting.py --input_path [image folder]...
DeMeshNet: Blind Face Inpainting for Deep MeshFace Verification .[J] arXiv preprint arXiv:1611.05271. Guilherme Folego, Marcus A. Angeloni, José Augusto Stuchi, Alan Godoy, Anderson Rocha .Cross-Domain Face Verification: Matching ID Document and Self-Portrait Photographs .[J] arXiv preprint ar...
Face Inpainting Dependencies and Installation Pytorch >= 1.7.1 CUDA >= 10.1 Other required packages inrequirements.txt # git clone this repository git clone https://github.com/sczhou/CodeFormer cd CodeFormer # create new anaconda env conda create -n codeformer python=3.8 -y conda activate code...
Face Inpainting Dependencies and Installation Pytorch >= 1.7.1 CUDA >= 10.1 Other required packages in requirements.txt # git clone this repository git clone https://github.com/sczhou/CodeFormer cd CodeFormer # create new anaconda env conda create -n codeformer python=3.8 -y conda activate co...
Face Inpainting Dependencies and Installation Pytorch >= 1.7.1 CUDA >= 10.1 Other required packages in requirements.txt # git clone this repository git clone https://github.com/sczhou/CodeFormer cd CodeFormer # create new anaconda env conda create -n codeformer python=3.8 -y conda activate co...
🎨 Face Inpainting (cropped and aligned face) # For cropped and aligned faces (512x512) # Inputs could be masked by white brush using an image editing app (e.g., Photoshop) # (check out the examples in inputs/masked_faces) python inference_inpainting.py --input_path [image folder]...
Face Inpainting Dependencies and Installation Pytorch >= 1.7.1 CUDA >= 10.1 Other required packages in requirements.txt # git clone this repository git clone https://github.com/sczhou/CodeFormer cd CodeFormer # create new anaconda env conda create -n codeformer python=3.8 -y conda activate co...
Add checkpoint and script for face inpainting Add checkpoint and script for face colorization Add background image enhancement Pytorch >= 1.7.1 CUDA >= 10.1 Other required packages inrequirements.txt # git clone this repository git clone https://github.com/sczhou/CodeFormer cd CodeFormer # creat...
🎨 Face Inpainting (cropped and aligned face) # For cropped and aligned faces (512x512) # Inputs could be masked by white brush using an image editing app (e.g., Photoshop) # (check out the examples in inputs/masked_faces) python inference_inpainting.py --input_path [image folder]...