Commit
·
b3d492e
1
Parent(s):
7439e48
Upload folder using huggingface_hub
Browse files- Dockerfile +3 -3
- assets/gfpgan_logo.png +0 -0
- requirements.txt +92 -36
- sample_images/Adele_crop.png +0 -0
- sample_images/Blake_Lively.jpg +0 -0
- sample_images/Julia_Roberts_crop.png +0 -0
- sample_images/Justin_Timberlake_crop.png +0 -0
- sample_images/Paris_Hilton_crop.png +0 -0
- setup.py +1 -1
Dockerfile
CHANGED
|
@@ -21,7 +21,7 @@ WORKDIR $HOME/app
|
|
| 21 |
COPY --chown=user . $HOME/app
|
| 22 |
|
| 23 |
### Set up app-specific content
|
| 24 |
-
COPY
|
| 25 |
|
| 26 |
# Install basicsr - https://github.com/xinntao/BasicSR
|
| 27 |
# We use BasicSR for both training and inference
|
|
@@ -31,8 +31,8 @@ RUN pip install basicsr
|
|
| 31 |
# We use face detection and face restoration helper in the facexlib package
|
| 32 |
RUN pip install facexlib
|
| 33 |
|
| 34 |
-
RUN pip3 install -r
|
| 35 |
-
RUN python setup.py develop
|
| 36 |
|
| 37 |
# If you want to enhance the background (non-face) regions with Real-ESRGAN,
|
| 38 |
# you also need to install the realesrgan package
|
|
|
|
| 21 |
COPY --chown=user . $HOME/app
|
| 22 |
|
| 23 |
### Set up app-specific content
|
| 24 |
+
COPY requirements.txt requirements.txt
|
| 25 |
|
| 26 |
# Install basicsr - https://github.com/xinntao/BasicSR
|
| 27 |
# We use BasicSR for both training and inference
|
|
|
|
| 31 |
# We use face detection and face restoration helper in the facexlib package
|
| 32 |
RUN pip install facexlib
|
| 33 |
|
| 34 |
+
RUN pip3 install -r requirements.txt
|
| 35 |
+
# RUN python setup.py develop
|
| 36 |
|
| 37 |
# If you want to enhance the background (non-face) regions with Real-ESRGAN,
|
| 38 |
# you also need to install the realesrgan package
|
assets/gfpgan_logo.png
CHANGED
|
|
Git LFS Details
|
requirements.txt
CHANGED
|
@@ -1,37 +1,93 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
# opencv-python
|
| 6 |
-
# pyyaml
|
| 7 |
-
# scipy
|
| 8 |
-
# tb-nightly
|
| 9 |
-
# torch>=1.7
|
| 10 |
-
# torchvision
|
| 11 |
-
# tqdm
|
| 12 |
-
# yapf
|
| 13 |
-
|
| 14 |
-
# Install basicsr - https://github.com/xinntao/BasicSR
|
| 15 |
-
# We use BasicSR for both training and inference
|
| 16 |
-
basicsr
|
| 17 |
-
|
| 18 |
-
# Install facexlib - https://github.com/xinntao/facexlib
|
| 19 |
-
# We use face detection and face restoration helper in the facexlib package
|
| 20 |
-
facexlib
|
| 21 |
-
|
| 22 |
-
# pip install -r requirements.txt
|
| 23 |
-
# python setup.py develop
|
| 24 |
-
|
| 25 |
-
# If you want to enhance the background (non-face) regions with Real-ESRGAN,
|
| 26 |
-
# you also need to install the realesrgan package
|
| 27 |
-
realesrgan
|
| 28 |
-
torch==1.7.1
|
| 29 |
-
torchvision==0.8.2
|
| 30 |
-
numpy==1.21.1
|
| 31 |
-
lmdb==1.2.1
|
| 32 |
-
opencv-python==4.5.3.56
|
| 33 |
-
PyYAML==5.4.1
|
| 34 |
-
tqdm==4.62.2
|
| 35 |
-
yapf==0.31.0
|
| 36 |
basicsr==1.4.2
|
| 37 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
absl-py==2.0.0
|
| 2 |
+
addict==2.4.0
|
| 3 |
+
altair==5.1.2
|
| 4 |
+
attrs==23.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
basicsr==1.4.2
|
| 6 |
+
blinker==1.6.3
|
| 7 |
+
cachetools==5.3.2
|
| 8 |
+
certifi==2023.7.22
|
| 9 |
+
charset-normalizer==3.3.2
|
| 10 |
+
click==8.1.7
|
| 11 |
+
contourpy==1.1.1
|
| 12 |
+
cycler==0.12.1
|
| 13 |
+
facexlib==0.3.0
|
| 14 |
+
filelock==3.13.1
|
| 15 |
+
filterpy==1.4.5
|
| 16 |
+
fonttools==4.43.1
|
| 17 |
+
fsspec==2023.10.0
|
| 18 |
+
future==0.18.3
|
| 19 |
+
gfpgan==1.3.7
|
| 20 |
+
gitdb==4.0.11
|
| 21 |
+
GitPython==3.1.40
|
| 22 |
+
google-auth==2.23.4
|
| 23 |
+
google-auth-oauthlib==1.1.0
|
| 24 |
+
grpcio==1.59.2
|
| 25 |
+
idna==3.4
|
| 26 |
+
imageio==2.31.6
|
| 27 |
+
importlib-metadata==6.8.0
|
| 28 |
+
Jinja2==3.1.2
|
| 29 |
+
jsonschema==4.19.2
|
| 30 |
+
jsonschema-specifications==2023.7.1
|
| 31 |
+
kiwisolver==1.4.5
|
| 32 |
+
lazy_loader==0.3
|
| 33 |
+
llvmlite==0.41.1
|
| 34 |
+
lmdb==1.4.1
|
| 35 |
+
Markdown==3.5.1
|
| 36 |
+
markdown-it-py==3.0.0
|
| 37 |
+
MarkupSafe==2.1.3
|
| 38 |
+
matplotlib==3.8.1
|
| 39 |
+
mdurl==0.1.2
|
| 40 |
+
mpmath==1.3.0
|
| 41 |
+
networkx==3.2.1
|
| 42 |
+
numba==0.58.1
|
| 43 |
+
numpy==1.26.1
|
| 44 |
+
oauthlib==3.2.2
|
| 45 |
+
opencv-python==4.8.1.78
|
| 46 |
+
packaging==23.2
|
| 47 |
+
pandas==2.1.2
|
| 48 |
+
Pillow==10.0.1
|
| 49 |
+
pip==23.3.1
|
| 50 |
+
platformdirs==3.11.0
|
| 51 |
+
protobuf==4.24.4
|
| 52 |
+
pyarrow==13.0.0
|
| 53 |
+
pyasn1==0.5.0
|
| 54 |
+
pyasn1-modules==0.3.0
|
| 55 |
+
pydeck==0.8.1b0
|
| 56 |
+
Pygments==2.16.1
|
| 57 |
+
pyparsing==3.1.1
|
| 58 |
+
python-dateutil==2.8.2
|
| 59 |
+
pytz==2023.3.post1
|
| 60 |
+
PyYAML==6.0.1
|
| 61 |
+
realesrgan==0.3.0
|
| 62 |
+
referencing==0.30.2
|
| 63 |
+
requests==2.31.0
|
| 64 |
+
requests-oauthlib==1.3.1
|
| 65 |
+
rich==13.6.0
|
| 66 |
+
rpds-py==0.10.6
|
| 67 |
+
rsa==4.9
|
| 68 |
+
scikit-image==0.22.0
|
| 69 |
+
scipy==1.11.3
|
| 70 |
+
setuptools==65.5.0
|
| 71 |
+
six==1.16.0
|
| 72 |
+
smmap==5.0.1
|
| 73 |
+
streamlit==1.28.0
|
| 74 |
+
sympy==1.12
|
| 75 |
+
tb-nightly==2.16.0a20231031
|
| 76 |
+
tenacity==8.2.3
|
| 77 |
+
tensorboard-data-server==0.7.2
|
| 78 |
+
tifffile==2023.9.26
|
| 79 |
+
toml==0.10.2
|
| 80 |
+
tomli==2.0.1
|
| 81 |
+
toolz==0.12.0
|
| 82 |
+
torch==2.1.0
|
| 83 |
+
torchvision==0.16.0
|
| 84 |
+
tornado==6.3.3
|
| 85 |
+
tqdm==4.66.1
|
| 86 |
+
typing-extensions==4.8.0
|
| 87 |
+
tzdata==2023.3
|
| 88 |
+
tzlocal==5.2
|
| 89 |
+
urllib3==2.0.7
|
| 90 |
+
validators==0.22.0
|
| 91 |
+
Werkzeug==3.0.1
|
| 92 |
+
yapf==0.40.2
|
| 93 |
+
zipp==3.17.0
|
sample_images/Adele_crop.png
CHANGED
|
|
Git LFS Details
|
sample_images/Blake_Lively.jpg
CHANGED
|
|
Git LFS Details
|
sample_images/Julia_Roberts_crop.png
CHANGED
|
|
Git LFS Details
|
sample_images/Justin_Timberlake_crop.png
CHANGED
|
|
Git LFS Details
|
sample_images/Paris_Hilton_crop.png
CHANGED
|
|
Git LFS Details
|
setup.py
CHANGED
|
@@ -72,7 +72,7 @@ def get_version():
|
|
| 72 |
return locals()['__version__']
|
| 73 |
|
| 74 |
|
| 75 |
-
def get_requirements(filename='
|
| 76 |
here = os.path.dirname(os.path.realpath(__file__))
|
| 77 |
with open(os.path.join(here, filename), 'r') as f:
|
| 78 |
requires = [line.replace('\n', '') for line in f.readlines()]
|
|
|
|
| 72 |
return locals()['__version__']
|
| 73 |
|
| 74 |
|
| 75 |
+
def get_requirements(filename='requirements.txt'):
|
| 76 |
here = os.path.dirname(os.path.realpath(__file__))
|
| 77 |
with open(os.path.join(here, filename), 'r') as f:
|
| 78 |
requires = [line.replace('\n', '') for line in f.readlines()]
|