Spaces:
Runtime error
Runtime error
echen01
commited on
Commit
•
47cab30
1
Parent(s):
aac785b
fix reqs
Browse files- README.md +4 -1
- app.py +1 -1
- checkpoints/model_gradio_demo_input.pt +1 -1
- imgs/cropped/input.png +2 -2
- imgs/input.png +2 -2
- requirements_local.txt +168 -0
README.md
CHANGED
@@ -34,7 +34,10 @@ git clone https://huggingface.co/spaces/emc348/faces-through-time
|
|
34 |
|
35 |
To run StyleGAN, install the following packages
|
36 |
```
|
37 |
-
pip install
|
|
|
|
|
|
|
38 |
```
|
39 |
|
40 |
To run with cuda, change line 3 in `configs/global_config.py` to
|
|
|
34 |
|
35 |
To run StyleGAN, install the following packages
|
36 |
```
|
37 |
+
pip install torch==1.9.1+cu111 torchvision==0.10.1+cu111 torchaudio==0.9.1 -f https://download.pytorch.org/whl/torch_stable.html
|
38 |
+
```
|
39 |
+
```
|
40 |
+
pip install -r requirements_local.txt
|
41 |
```
|
42 |
|
43 |
To run with cuda, change line 3 in `configs/global_config.py` to
|
app.py
CHANGED
@@ -121,4 +121,4 @@ with gr.Blocks() as demo:
|
|
121 |
submit.click(predict, inputs=[in_img, in_year], outputs=outs)
|
122 |
|
123 |
|
124 |
-
demo.launch(
|
|
|
121 |
submit.click(predict, inputs=[in_img, in_year], outputs=outs)
|
122 |
|
123 |
|
124 |
+
demo.launch(server_name="0.0.0.0", server_port=8098)
|
checkpoints/model_gradio_demo_input.pt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 99869025
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6fa8ca16c2dfdba3ce016224761919c15c5a262e4a5e3ee6616850e7c7c82d70
|
3 |
size 99869025
|
imgs/cropped/input.png
CHANGED
Git LFS Details
|
Git LFS Details
|
imgs/input.png
CHANGED
Git LFS Details
|
Git LFS Details
|
requirements_local.txt
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
absl-py==1.4.0
|
2 |
+
aiofiles==23.1.0
|
3 |
+
aiohttp==3.8.4
|
4 |
+
aiosignal==1.3.1
|
5 |
+
altair==5.0.1
|
6 |
+
anyio==3.6.2
|
7 |
+
appdirs==1.4.4
|
8 |
+
argon2-cffi==21.3.0
|
9 |
+
argon2-cffi-bindings==21.2.0
|
10 |
+
arrow==1.2.3
|
11 |
+
asttokens==2.2.1
|
12 |
+
async-timeout==4.0.2
|
13 |
+
attrs==22.2.0
|
14 |
+
backcall==0.2.0
|
15 |
+
beautifulsoup4==4.12.0
|
16 |
+
bleach==6.0.0
|
17 |
+
cffi==1.15.1
|
18 |
+
charset-normalizer==3.1.0
|
19 |
+
click==8.1.3
|
20 |
+
comm==0.1.3
|
21 |
+
contourpy==1.0.7
|
22 |
+
cycler==0.11.0
|
23 |
+
debugpy==1.6.6
|
24 |
+
decorator==5.1.1
|
25 |
+
defusedxml==0.7.1
|
26 |
+
dlib==19.24.1
|
27 |
+
docker-pycreds==0.4.0
|
28 |
+
docopt==0.6.2
|
29 |
+
executing==1.2.0
|
30 |
+
face-alignment==1.3.5
|
31 |
+
face-detection==0.2.2
|
32 |
+
face-recognition==1.3.0
|
33 |
+
face-recognition-models==0.3.0
|
34 |
+
fastapi==0.96.0
|
35 |
+
fastjsonschema==2.16.3
|
36 |
+
ffmpy==0.3.0
|
37 |
+
filelock==3.12.0
|
38 |
+
fonttools==4.39.3
|
39 |
+
fqdn==1.5.1
|
40 |
+
frozenlist==1.3.3
|
41 |
+
fsspec==2023.5.0
|
42 |
+
gitdb==4.0.10
|
43 |
+
GitPython==3.1.31
|
44 |
+
gradio==3.33.1
|
45 |
+
gradio_client==0.2.5
|
46 |
+
h11==0.14.0
|
47 |
+
httpcore==0.17.2
|
48 |
+
httpx==0.24.1
|
49 |
+
huggingface-hub==0.15.1
|
50 |
+
idna==3.4
|
51 |
+
imageio==2.28.1
|
52 |
+
imageio-ffmpeg==0.4.3
|
53 |
+
importlib-metadata==6.1.0
|
54 |
+
importlib-resources==5.12.0
|
55 |
+
ipykernel==6.22.0
|
56 |
+
ipython==8.12.0
|
57 |
+
ipython-genutils==0.2.0
|
58 |
+
ipywidgets==8.0.6
|
59 |
+
isoduration==20.11.0
|
60 |
+
jedi==0.18.2
|
61 |
+
Jinja2==3.1.2
|
62 |
+
jsonpointer==2.3
|
63 |
+
jsonschema==4.17.3
|
64 |
+
jupyter==1.0.0
|
65 |
+
jupyter-console==6.6.3
|
66 |
+
jupyter-events==0.6.3
|
67 |
+
jupyter_client==8.1.0
|
68 |
+
jupyter_core==5.3.0
|
69 |
+
jupyter_server==2.5.0
|
70 |
+
jupyter_server_terminals==0.4.4
|
71 |
+
jupyterlab-pygments==0.2.2
|
72 |
+
jupyterlab-widgets==3.0.7
|
73 |
+
kiwisolver==1.4.4
|
74 |
+
lazy_loader==0.2
|
75 |
+
linkify-it-py==2.0.2
|
76 |
+
llvmlite==0.40.0
|
77 |
+
lpips==0.1.4
|
78 |
+
markdown-it-py==2.2.0
|
79 |
+
MarkupSafe==2.1.2
|
80 |
+
matplotlib==3.7.1
|
81 |
+
matplotlib-inline==0.1.6
|
82 |
+
mdit-py-plugins==0.3.3
|
83 |
+
mdurl==0.1.2
|
84 |
+
mistune==2.0.5
|
85 |
+
multidict==6.0.4
|
86 |
+
nbclassic==0.5.4
|
87 |
+
nbclient==0.7.2
|
88 |
+
nbconvert==7.2.10
|
89 |
+
nbformat==5.8.0
|
90 |
+
nest-asyncio==1.5.6
|
91 |
+
networkx==3.1
|
92 |
+
ninja==1.11.1
|
93 |
+
notebook==6.5.3
|
94 |
+
notebook_shim==0.2.2
|
95 |
+
numba==0.57.0
|
96 |
+
numpy==1.24.2
|
97 |
+
opencv-python==4.7.0.72
|
98 |
+
orjson==3.9.0
|
99 |
+
packaging==23.0
|
100 |
+
pandas==2.0.2
|
101 |
+
pandocfilters==1.5.0
|
102 |
+
parso==0.8.3
|
103 |
+
pathtools==0.1.2
|
104 |
+
pexpect==4.8.0
|
105 |
+
pickleshare==0.7.5
|
106 |
+
Pillow==9.4.0
|
107 |
+
pipreqs==0.4.13
|
108 |
+
platformdirs==3.2.0
|
109 |
+
prometheus-client==0.16.0
|
110 |
+
prompt-toolkit==3.0.38
|
111 |
+
protobuf==4.22.1
|
112 |
+
psutil==5.9.4
|
113 |
+
ptyprocess==0.7.0
|
114 |
+
pure-eval==0.2.2
|
115 |
+
pycparser==2.21
|
116 |
+
pydantic==1.10.8
|
117 |
+
pydub==0.25.1
|
118 |
+
Pygments==2.14.0
|
119 |
+
pyparsing==3.0.9
|
120 |
+
pyrsistent==0.19.3
|
121 |
+
pyspng==0.1.1
|
122 |
+
python-dateutil==2.8.2
|
123 |
+
python-json-logger==2.0.7
|
124 |
+
python-multipart==0.0.6
|
125 |
+
pytz==2023.3
|
126 |
+
PyWavelets==1.4.1
|
127 |
+
PyYAML==6.0
|
128 |
+
pyzmq==25.0.2
|
129 |
+
qtconsole==5.4.1
|
130 |
+
QtPy==2.3.1
|
131 |
+
requests==2.28.2
|
132 |
+
rfc3339-validator==0.1.4
|
133 |
+
rfc3986-validator==0.1.1
|
134 |
+
scikit-image==0.20.0
|
135 |
+
scipy==1.9.1
|
136 |
+
semantic-version==2.10.0
|
137 |
+
Send2Trash==1.8.0
|
138 |
+
sentry-sdk==1.18.0
|
139 |
+
setproctitle==1.3.2
|
140 |
+
six==1.16.0
|
141 |
+
smmap==5.0.0
|
142 |
+
sniffio==1.3.0
|
143 |
+
soupsieve==2.4
|
144 |
+
stack-data==0.6.2
|
145 |
+
starlette==0.27.0
|
146 |
+
terminado==0.17.1
|
147 |
+
tifffile==2023.4.12
|
148 |
+
tinycss2==1.2.1
|
149 |
+
toolz==0.12.0
|
150 |
+
tornado==6.2
|
151 |
+
tqdm==4.65.0
|
152 |
+
traitlets==5.9.0
|
153 |
+
typing_extensions==4.5.0
|
154 |
+
tzdata==2023.3
|
155 |
+
uc-micro-py==1.0.2
|
156 |
+
uri-template==1.2.0
|
157 |
+
urllib3==1.26.15
|
158 |
+
uvicorn==0.22.0
|
159 |
+
wandb==0.14.0
|
160 |
+
wcwidth==0.2.6
|
161 |
+
webcolors==1.13
|
162 |
+
webencodings==0.5.1
|
163 |
+
websocket-client==1.5.1
|
164 |
+
websockets==11.0.3
|
165 |
+
widgetsnbextension==4.0.7
|
166 |
+
yarg==0.1.9
|
167 |
+
yarl==1.9.2
|
168 |
+
zipp==3.15.0
|