tristan-deep commited on
Commit
77f86dc
·
1 Parent(s): 9279727

updates from main

Browse files
Files changed (4) hide show
  1. .gitignore +2 -1
  2. Dockerfile +1 -1
  3. main.py +3 -0
  4. 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

  • SHA256: 7dfc9f4fd6101ae3d37e77c855a33d8f6bf7868523def62fb2cd2bde218450aa
  • Pointer size: 131 Bytes
  • Size of remote file: 456 kB