Rodrigo_Cobo
commited on
Commit
·
ce682d7
1
Parent(s):
4edfa31
fix issue with cycle half
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def calculate_depth(model_type, gan_type, dim, slider, img):
|
|
56 |
c_images = '1'
|
57 |
name_output = 'out'
|
58 |
|
59 |
-
dict_saved_gans = {'Cycle': '74962_110', 'Cycle(half)': '
|
60 |
|
61 |
subprocess.run(["python", "main.py", "--gan_type", 'WiggleGAN', "--expandGen", "4", "--expandDis", "4", "--batch_size", c_images, "--cIm", c_images,
|
62 |
"--visdom", "false", "--wiggleDepth", str(slider), "--seedLoad", dict_saved_gans[gan_type], "--gpu_mode", "false", "--imageDim", dim, "--name_wiggle", name_output
|
|
|
56 |
c_images = '1'
|
57 |
name_output = 'out'
|
58 |
|
59 |
+
dict_saved_gans = {'Cycle': '74962_110', 'Cycle(half)': '66942_110','noCycle': '31219_110', 'noCycle-noCr': '92332_110', 'noCycle-noCr-noL1': '82122_110', 'OnlyGen': '70944_110' }
|
60 |
|
61 |
subprocess.run(["python", "main.py", "--gan_type", 'WiggleGAN', "--expandGen", "4", "--expandDis", "4", "--batch_size", c_images, "--cIm", c_images,
|
62 |
"--visdom", "false", "--wiggleDepth", str(slider), "--seedLoad", dict_saved_gans[gan_type], "--gpu_mode", "false", "--imageDim", dim, "--name_wiggle", name_output
|