File size: 745 Bytes
7439e48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# basicsr>=1.4.2
# facexlib>=0.2.5
# lmdb
# numpy
# opencv-python
# pyyaml
# scipy
# tb-nightly
# torch>=1.7
# torchvision
# tqdm
# yapf

# Install basicsr - https://github.com/xinntao/BasicSR
# We use BasicSR for both training and inference
basicsr

# Install facexlib - https://github.com/xinntao/facexlib
# We use face detection and face restoration helper in the facexlib package
facexlib

# pip install -r requirements.txt
# python setup.py develop

# If you want to enhance the background (non-face) regions with Real-ESRGAN,
# you also need to install the realesrgan package
realesrgan
torch==1.7.1
torchvision==0.8.2
numpy==1.21.1
lmdb==1.2.1
opencv-python==4.5.3.56
PyYAML==5.4.1
tqdm==4.62.2
yapf==0.31.0
basicsr==1.4.2
facexlib==0.2.5