Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
77f86dc
1
Parent(s):
9279727
updates from main
Browse files- .gitignore +2 -1
- Dockerfile +1 -1
- main.py +3 -0
- paper/gradio_demo.gif +3 -0
.gitignore
CHANGED
@@ -7,4 +7,5 @@ temp/
|
|
7 |
*.hash
|
8 |
*.npz
|
9 |
sweep_results/
|
10 |
-
.gradio
|
|
|
|
7 |
*.hash
|
8 |
*.npz
|
9 |
sweep_results/
|
10 |
+
.gradio
|
11 |
+
__pycache__
|
Dockerfile
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
FROM zeahub/all:v0.0.4
|
2 |
|
3 |
-
RUN pip install --no-cache-dir tyro optuna
|
4 |
|
5 |
RUN pip install --no-cache-dir --no-deps pytorch_fid
|
6 |
|
|
|
1 |
FROM zeahub/all:v0.0.4
|
2 |
|
3 |
+
RUN pip install --no-cache-dir gradio tyro optuna
|
4 |
|
5 |
RUN pip install --no-cache-dir --no-deps pytorch_fid
|
6 |
|
main.py
CHANGED
@@ -1,6 +1,9 @@
|
|
1 |
import copy
|
|
|
2 |
from pathlib import Path
|
3 |
|
|
|
|
|
4 |
import jax
|
5 |
import keras
|
6 |
import matplotlib.pyplot as plt
|
|
|
1 |
import copy
|
2 |
+
import os
|
3 |
from pathlib import Path
|
4 |
|
5 |
+
os.environ["KERAS_BACKEND"] = "jax"
|
6 |
+
|
7 |
import jax
|
8 |
import keras
|
9 |
import matplotlib.pyplot as plt
|
paper/gradio_demo.gif
ADDED
![]() |
Git LFS Details
|