Spaces:
Running
on
Zero
Running
on
Zero
kxhit
commited on
Commit
•
2901e06
1
Parent(s):
5833474
clean requirements
Browse files- app.py +6 -6
- requirements.txt +15 -305
app.py
CHANGED
@@ -194,14 +194,14 @@ def run_eschernet(eschernet_input_dict, sample_steps, sample_seed, nvs_num, nvs_
|
|
194 |
if os.path.exists(output_dir):
|
195 |
shutil.rmtree(output_dir)
|
196 |
os.makedirs(output_dir, exist_ok=True)
|
197 |
-
# save to N imgs
|
198 |
-
for i in range(T_out):
|
199 |
-
|
200 |
# make a gif
|
201 |
frames = [Image.fromarray((image[i] * 255).astype(np.uint8)) for i in range(T_out)]
|
202 |
-
frame_one = frames[0]
|
203 |
-
frame_one.save(os.path.join(output_dir, "output.gif"), format="GIF", append_images=frames,
|
204 |
-
|
205 |
|
206 |
# get a video
|
207 |
video_path = os.path.join(output_dir, "output.mp4")
|
|
|
194 |
if os.path.exists(output_dir):
|
195 |
shutil.rmtree(output_dir)
|
196 |
os.makedirs(output_dir, exist_ok=True)
|
197 |
+
# # save to N imgs
|
198 |
+
# for i in range(T_out):
|
199 |
+
# imsave(os.path.join(output_dir, f'{i}.png'), (image[i] * 255).astype(np.uint8))
|
200 |
# make a gif
|
201 |
frames = [Image.fromarray((image[i] * 255).astype(np.uint8)) for i in range(T_out)]
|
202 |
+
# frame_one = frames[0]
|
203 |
+
# frame_one.save(os.path.join(output_dir, "output.gif"), format="GIF", append_images=frames,
|
204 |
+
# save_all=True, duration=50, loop=1)
|
205 |
|
206 |
# get a video
|
207 |
video_path = os.path.join(output_dir, "output.mp4")
|
requirements.txt
CHANGED
@@ -1,307 +1,17 @@
|
|
1 |
-
|
2 |
-
accelerate==0.23.0
|
3 |
-
addict==2.4.0
|
4 |
-
aiofiles==23.1.0
|
5 |
-
aiohttp==3.8.5
|
6 |
-
aiosignal==1.3.1
|
7 |
-
albumentations==0.4.3
|
8 |
-
altair==4.2.2
|
9 |
-
annotated-types==0.5.0
|
10 |
-
ansi2html==1.8.0
|
11 |
-
antlr4-python3-runtime==4.9.3
|
12 |
-
anyio==3.7.1
|
13 |
-
appdirs==1.4.4
|
14 |
-
asttokens==2.2.1
|
15 |
-
async-timeout==4.0.2
|
16 |
-
asyncer==0.0.2
|
17 |
-
attrs==23.1.0
|
18 |
-
backcall==0.2.0
|
19 |
-
blinker==1.6.2
|
20 |
-
braceexpand==0.1.7
|
21 |
-
brotlipy==0.7.0
|
22 |
-
cachetools==5.3.1
|
23 |
-
carvekit_colab==4.1.2
|
24 |
-
certifi==2024.6.2
|
25 |
-
cffi==1.16.0
|
26 |
-
charset-normalizer==3.3.2
|
27 |
-
click==8.1.6
|
28 |
-
cmake==3.29.3
|
29 |
-
colorama==0.4.6
|
30 |
-
coloredlogs==15.0.1
|
31 |
-
comm==0.1.4
|
32 |
-
ConfigArgParse==1.7
|
33 |
-
contourpy==1.1.0
|
34 |
-
cycler==0.11.0
|
35 |
-
dataclasses-json==0.6.1
|
36 |
-
datasets==2.4.0
|
37 |
-
dearpygui==1.10.1
|
38 |
-
decorator==4.4.2
|
39 |
-
Deprecated==1.2.14
|
40 |
-
diffusers==0.19.3
|
41 |
-
dill==0.3.5.1
|
42 |
-
docker-pycreds==0.4.0
|
43 |
-
dpcpp-cpp-rt==2024.1.2
|
44 |
-
easydict==1.10
|
45 |
-
einops==0.3.0
|
46 |
-
entrypoints==0.4
|
47 |
-
envlight==0.1.0
|
48 |
-
exceptiongroup==1.1.2
|
49 |
-
executing==2.0.0
|
50 |
-
fastapi==0.100.1
|
51 |
-
fastcore==1.5.29
|
52 |
-
fastjsonschema==2.18.0
|
53 |
-
ffmpy==0.3.1
|
54 |
-
filelock==3.14.0
|
55 |
-
filetype==1.2.0
|
56 |
-
fire==0.4.0
|
57 |
-
Flask==2.2.5
|
58 |
-
flatbuffers==23.5.26
|
59 |
-
fonttools==4.41.1
|
60 |
-
freetype-py==2.4.0
|
61 |
-
frozenlist==1.4.0
|
62 |
-
fsspec==2023.6.0
|
63 |
-
ftfy==6.1.1
|
64 |
-
future==0.18.3
|
65 |
-
gitdb==4.0.10
|
66 |
-
GitPython==3.1.32
|
67 |
-
glfw==2.6.2
|
68 |
-
google-auth==2.22.0
|
69 |
-
google-auth-oauthlib==1.0.0
|
70 |
-
gradio==4.19.2
|
71 |
-
gradio_client==0.10.1
|
72 |
-
grpcio==1.56.2
|
73 |
-
h11==0.14.0
|
74 |
-
h5py==3.10.0
|
75 |
-
hjson==3.1.0
|
76 |
-
httpcore==0.17.3
|
77 |
-
httpx==0.24.1
|
78 |
-
huggingface-hub==0.22.0
|
79 |
-
humanfriendly==10.0
|
80 |
-
idna==3.7
|
81 |
-
imageio==2.32.0
|
82 |
-
imageio-ffmpeg==0.4.8
|
83 |
-
imgaug==0.2.6
|
84 |
-
imgviz==1.7.3
|
85 |
-
importlib-metadata==6.8.0
|
86 |
-
importlib-resources==6.0.0
|
87 |
-
iniconfig==2.0.0
|
88 |
-
inquirerpy==0.3.4
|
89 |
-
intel-cmplr-lib-rt==2024.1.2
|
90 |
-
intel-cmplr-lic-rt==2024.1.2
|
91 |
-
intel-opencl-rt==2024.1.2
|
92 |
-
intel-openmp==2024.1.2
|
93 |
-
intel-sycl-rt==2024.1.2
|
94 |
-
ipython==8.18.0
|
95 |
-
ipywidgets==8.1.0
|
96 |
-
itsdangerous==2.1.2
|
97 |
-
jedi==0.18.2
|
98 |
-
Jinja2==3.1.4
|
99 |
-
joblib==1.3.2
|
100 |
-
jsonpatch==1.33
|
101 |
-
jsonpointer==2.4
|
102 |
-
jsonschema==4.18.4
|
103 |
-
jsonschema-specifications==2023.7.1
|
104 |
-
jupyter_core==5.3.1
|
105 |
-
jupyterlab-widgets==3.0.8
|
106 |
-
kiwisolver==1.4.4
|
107 |
-
kornia==0.6.0
|
108 |
-
lazy_loader==0.3
|
109 |
-
libigl==2.4.1
|
110 |
-
lightning-utilities==0.9.0
|
111 |
-
linkify-it-py==2.0.2
|
112 |
-
lit==18.1.6
|
113 |
-
llvmlite==0.41.1
|
114 |
-
loguru==0.7.0
|
115 |
-
lovely-numpy==0.2.9
|
116 |
-
lovely-tensors==0.1.15
|
117 |
-
lpips==0.1.4
|
118 |
-
Markdown==3.4.4
|
119 |
-
markdown-it-py==2.2.0
|
120 |
-
MarkupSafe==2.1.5
|
121 |
-
marshmallow==3.20.1
|
122 |
-
matplotlib==3.7.2
|
123 |
-
matplotlib-inline==0.1.6
|
124 |
-
mdit-py-plugins==0.3.3
|
125 |
-
mdurl==0.1.2
|
126 |
-
mesh2sdf==1.1.0
|
127 |
-
mkl==2024.1.0
|
128 |
-
mkl-fft==1.3.6
|
129 |
-
mkl-service==2.4.0
|
130 |
-
modelcards==0.1.6
|
131 |
-
moviepy==1.0.3
|
132 |
-
mpmath==1.2.1
|
133 |
-
multidict==6.0.4
|
134 |
-
multiprocess==0.70.13
|
135 |
-
mypy-extensions==1.0.0
|
136 |
-
nbformat==5.5.0
|
137 |
-
nerfacc==0.5.2
|
138 |
-
nest-asyncio==1.5.7
|
139 |
-
networkx==3.3
|
140 |
-
ninja==1.11.1
|
141 |
-
numba==0.58.1
|
142 |
-
numpy==1.24.4
|
143 |
-
nvidia-cublas-cu11==11.10.3.66
|
144 |
-
nvidia-cuda-cupti-cu11==11.7.101
|
145 |
-
nvidia-cuda-nvrtc-cu11==11.7.99
|
146 |
-
nvidia-cuda-runtime-cu11==11.7.99
|
147 |
-
nvidia-cudnn-cu11==8.5.0.96
|
148 |
-
nvidia-cufft-cu11==10.9.0.58
|
149 |
-
nvidia-curand-cu11==10.2.10.91
|
150 |
-
nvidia-cusolver-cu11==11.4.0.1
|
151 |
-
nvidia-cusparse-cu11==11.7.4.91
|
152 |
-
nvidia-nccl-cu11==2.14.3
|
153 |
-
nvidia-nvtx-cu11==11.7.91
|
154 |
-
oauthlib==3.2.2
|
155 |
-
objprint==0.2.3
|
156 |
-
omegaconf==2.3.0
|
157 |
-
onnxruntime==1.16.1
|
158 |
-
onnxruntime-gpu==1.16.1
|
159 |
-
open-clip-torch==2.7.0
|
160 |
-
open3d==0.16.0
|
161 |
-
opencv-python==4.5.5.64
|
162 |
-
opencv-python-headless==4.8.0.74
|
163 |
-
orjson==3.9.2
|
164 |
-
packaging==23.1
|
165 |
-
pandas==2.0.3
|
166 |
-
parso==0.8.3
|
167 |
-
pathtools==0.1.2
|
168 |
-
pexpect==4.8.0
|
169 |
-
pfzy==0.3.4
|
170 |
-
pickleshare==0.7.5
|
171 |
-
Pillow==10.0.0
|
172 |
-
piq==0.8.0
|
173 |
-
platformdirs==3.10.0
|
174 |
-
plotly==5.13.1
|
175 |
-
pluggy==1.3.0
|
176 |
-
plyfile==1.0.1
|
177 |
-
pooch==1.7.0
|
178 |
-
proglog==0.1.10
|
179 |
-
prompt-toolkit==3.0.39
|
180 |
-
protobuf==3.20.3
|
181 |
-
psutil==5.9.5
|
182 |
-
ptyprocess==0.7.0
|
183 |
-
pudb==2019.2
|
184 |
-
pure-eval==0.2.2
|
185 |
-
py-cpuinfo==9.0.0
|
186 |
-
pyarrow==12.0.1
|
187 |
-
pyasn1==0.5.0
|
188 |
-
pyasn1-modules==0.3.0
|
189 |
-
pybind11==2.11.1
|
190 |
-
pycparser==2.22
|
191 |
-
pydantic==2.7.3
|
192 |
-
pydantic_core==2.18.4
|
193 |
-
pydeck==0.8.0
|
194 |
-
pyDeprecate==0.3.1
|
195 |
-
pydub==0.25.1
|
196 |
-
pyglet==1.5.0
|
197 |
-
pygltflib==1.16.1
|
198 |
-
Pygments==2.15.1
|
199 |
-
pyhocon==0.3.57
|
200 |
-
PyMatting==1.1.10
|
201 |
-
PyMCubes==0.1.2
|
202 |
-
pymeshlab==2022.2.post4
|
203 |
-
Pympler==1.0.1
|
204 |
-
PyOpenGL==3.1.0
|
205 |
-
pyparsing==3.0.9
|
206 |
-
pypose==0.6.5
|
207 |
-
pyquaternion==0.9.9
|
208 |
-
pyransac3d==0.6.0
|
209 |
-
pyre-extensions==0.0.29
|
210 |
-
pyrender==0.1.45
|
211 |
-
pytest==7.4.3
|
212 |
-
python-dateutil==2.8.2
|
213 |
-
python-multipart==0.0.9
|
214 |
-
pytorch-fid==0.3.0
|
215 |
-
pytorch-ignite==0.4.12
|
216 |
-
pytorch-lightning==1.9.0
|
217 |
-
pytz==2023.3
|
218 |
-
pytz-deprecation-shim==0.1.0.post0
|
219 |
-
PyWavelets==1.4.1
|
220 |
-
PyYAML==6.0.1
|
221 |
-
referencing==0.30.0
|
222 |
-
regex==2023.6.3
|
223 |
-
rembg==2.0.50
|
224 |
-
requests==2.32.3
|
225 |
-
requests-oauthlib==1.3.1
|
226 |
-
responses==0.18.0
|
227 |
-
retrying==1.3.4
|
228 |
-
rich==13.4.2
|
229 |
-
roma==1.5.0
|
230 |
-
rpds-py==0.9.2
|
231 |
-
rsa==4.9
|
232 |
-
ruff==0.4.7
|
233 |
-
safetensors==0.3.1
|
234 |
-
scikit-image==0.20.0
|
235 |
-
scikit-learn==1.3.0
|
236 |
-
scipy==1.9.1
|
237 |
-
segment-anything==1.0
|
238 |
-
semantic-version==2.10.0
|
239 |
-
sentencepiece==0.1.99
|
240 |
-
sentry-sdk==1.28.1
|
241 |
-
setproctitle==1.3.2
|
242 |
-
shellingham==1.5.4
|
243 |
-
six==1.16.0
|
244 |
-
smmap==5.0.0
|
245 |
-
sniffio==1.3.0
|
246 |
-
spaces==0.28.3
|
247 |
-
stack-data==0.6.2
|
248 |
-
starlette==0.27.0
|
249 |
-
streamlit==1.22.0
|
250 |
-
style==1.1.0
|
251 |
-
sympy==1.12.1
|
252 |
-
taming-transformers==0.0.1
|
253 |
-
taming-transformers-rom1504==0.0.6
|
254 |
-
tbb==2021.12.0
|
255 |
-
tenacity==8.2.2
|
256 |
-
tensorboard==2.13.0
|
257 |
-
tensorboard-data-server==0.7.1
|
258 |
-
termcolor==2.3.0
|
259 |
-
test_tube==0.7.5
|
260 |
-
threadpoolctl==3.2.0
|
261 |
-
tifffile==2023.7.18
|
262 |
-
timm==0.9.10
|
263 |
-
tokenizers==0.13.3
|
264 |
-
toml==0.10.2
|
265 |
-
tomli==2.0.1
|
266 |
-
tomlkit==0.12.0
|
267 |
-
toolz==0.12.0
|
268 |
torch==2.0.0
|
269 |
-
torch-fidelity==0.3.0
|
270 |
-
torch_efficient_distloss==0.1.3
|
271 |
-
torchaudio==2.0.0
|
272 |
-
torchmetrics==1.2.0
|
273 |
-
torchvision==0.15.1
|
274 |
-
tornado==6.3.2
|
275 |
-
tqdm==4.65.0
|
276 |
-
traitlets==5.9.0
|
277 |
-
transformers==4.30.2
|
278 |
-
trimesh==3.23.5
|
279 |
-
triton==2.0.0
|
280 |
-
typeguard==2.13.3
|
281 |
-
typer==0.12.3
|
282 |
-
typing-inspect==0.9.0
|
283 |
-
typing_extensions==4.12.1
|
284 |
-
tzdata==2023.3
|
285 |
-
tzlocal==4.3.1
|
286 |
-
uc-micro-py==1.0.2
|
287 |
-
update==0.0.1
|
288 |
-
urllib3==1.26.18
|
289 |
-
urwid==2.1.2
|
290 |
-
uvicorn==0.23.1
|
291 |
-
validators==0.20.0
|
292 |
-
varname==0.12.0
|
293 |
-
visdom==0.2.4
|
294 |
-
wandb==0.15.7
|
295 |
-
watchdog==3.0.0
|
296 |
-
wcwidth==0.2.6
|
297 |
-
webdataset==0.2.5
|
298 |
-
websocket-client==1.6.4
|
299 |
-
websockets==11.0.3
|
300 |
-
Werkzeug==2.2.3
|
301 |
-
widgetsnbextension==4.0.8
|
302 |
-
wrapt==1.15.0
|
303 |
-
xatlas==0.0.8
|
304 |
xformers==0.0.19
|
305 |
-
|
306 |
-
|
307 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diffusers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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