Rodrigo_Cobo
commited on
Commit
·
9ff509b
1
Parent(s):
c372dd5
add call to wigglegan
Browse files
app.py
CHANGED
@@ -55,7 +55,12 @@ def calculate_depth(model_type, img):
|
|
55 |
|
56 |
def wiggle_effect(slider):
|
57 |
|
58 |
-
|
|
|
|
|
|
|
|
|
|
|
59 |
|
60 |
return [f'Images/Input-Test/1_d.png',f'Images/Input-Test/1_d.png']
|
61 |
|
|
|
55 |
|
56 |
def wiggle_effect(slider):
|
57 |
|
58 |
+
|
59 |
+
# python main.py --gan_type WiggleGAN --expandGen 4 --expandDis 4 --batch_size 1 --visdom false --wiggleDepth 1 --seedLoad 31219_110 --gpu_mode false --cIm 1 --imageDim 256 --name_wiggle testing_name
|
60 |
+
#subprocess.run([".\Scripts\activate"])
|
61 |
+
subprocess.run(["python", "main.py", "--gan_type", 'WiggleGAN', "--expandGen", "4", "--expandDis", "4", "--batch_size", "1", "--cIm", "1",
|
62 |
+
"--visdom", "false", "--wiggleDepth", "1", "--seedLoad", '31219_110', "--gpu_mode", "false", "--imageDim", "256", "--name_wiggle", "0"
|
63 |
+
])
|
64 |
|
65 |
return [f'Images/Input-Test/1_d.png',f'Images/Input-Test/1_d.png']
|
66 |
|