You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,9 @@ S-Lab, Nanyang Technological University
20
20
21
21
:star: If CodeFormer is helpful to your images or projects, please help star this repo. Thanks! :hugs:
22
22
23
-
**[<fontcolor=#d1585d>News</font>]**: :whale:*Due to copyright issues, we have to delay the release of the training code (expected by the end of this year). Please star and stay tuned for our future updates!*
23
+
**[<fontcolor=#d1585d>News</font>]**: :whale:*We regret to inform you that the release of our code will be postponed from its earlier plan. Nevertheless, we assure you that it will be made available **by the end of this April**. Thank you for your understanding and patience. Our apologies for any inconvenience this may cause.*
24
24
### Update
25
+
-**2023.02.10**: Include `dlib` as a new face detector option, it produces more accurate face identity.
25
26
-**2022.10.05**: Support video input `--input_path [YOUR_VIDOE.mp4]`. Try it to enhance your videos! :clapper:
26
27
-**2022.09.14**: Integrated to :hugs:[Hugging Face](https://huggingface.co/spaces). Try out online demo! [](https://huggingface.co/spaces/sczhou/CodeFormer)
27
28
-**2022.09.09**: Integrated to :rocket:[Replicate](https://replicate.com/explore). Try out online demo! [](https://replicate.com/sczhou/codeformer)
@@ -74,15 +75,17 @@ conda activate codeformer
74
75
# install python dependencies
75
76
pip3 install -r requirements.txt
76
77
python basicsr/setup.py develop
78
+
conda install -c conda-forge dlib (only for dlib face detector)
77
79
```
78
80
<!-- conda install -c conda-forge dlib -->
79
81
80
82
### Quick Inference
81
83
82
84
#### Download Pre-trained Models:
83
-
Download the facelib pretrained models from [[Google Drive](https://drive.google.com/drive/folders/1b_3qwrzY_kTQh0-SnBoGBgOrJ_PLZSKm?usp=sharing) | [OneDrive](https://entuedu-my.sharepoint.com/:f:/g/personal/s200094_e_ntu_edu_sg/EvDxR7FcAbZMp_MA9ouq7aQB8XTppMb3-T0uGZ_2anI2mg?e=DXsJFo)] to the `weights/facelib` folder. You can manually download the pretrained models OR download by running the following command.
85
+
Download the facelib and dlib pretrained models from [[Google Drive](https://drive.google.com/drive/folders/1b_3qwrzY_kTQh0-SnBoGBgOrJ_PLZSKm?usp=sharing) | [OneDrive](https://entuedu-my.sharepoint.com/:f:/g/personal/s200094_e_ntu_edu_sg/EvDxR7FcAbZMp_MA9ouq7aQB8XTppMb3-T0uGZ_2anI2mg?e=DXsJFo)] to the `weights/facelib` folder. You can manually download the pretrained models OR download by running the following command.
python scripts/download_pretrained_models.py dlib (only for dlib face detector)
86
89
```
87
90
88
91
Download the CodeFormer pretrained models from [[Google Drive](https://drive.google.com/drive/folders/1CNNByjHDFt0b95q54yMVp6Ifo5iuU6QS?usp=sharing) | [OneDrive](https://entuedu-my.sharepoint.com/:f:/g/personal/s200094_e_ntu_edu_sg/EoKFj4wo8cdIn2-TY2IV6CYBhZ0pIG4kUOeHdPR_A5nlbg?e=AO8UN9)] to the `weights/CodeFormer` folder. You can manually download the pretrained models OR download by running the following command.
0 commit comments