Spaces:
Sleeping
Sleeping
aryrk
commited on
Commit
·
af1a755
1
Parent(s):
0eb4294
[debug]
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def reflection_removal(input_image):
|
|
| 44 |
"--model", "test", "--netG", "unet_256",
|
| 45 |
"--direction", "AtoB", "--dataset_mode", "single",
|
| 46 |
"--norm", "batch", "--epoch", "310",
|
| 47 |
-
"--num_test", count_files(UPLOAD_DIR),
|
| 48 |
"--gpu_ids", "-1"
|
| 49 |
]
|
| 50 |
subprocess.run(cmd, check=True)
|
|
|
|
| 44 |
"--model", "test", "--netG", "unet_256",
|
| 45 |
"--direction", "AtoB", "--dataset_mode", "single",
|
| 46 |
"--norm", "batch", "--epoch", "310",
|
| 47 |
+
"--num_test", str(count_files(UPLOAD_DIR)),
|
| 48 |
"--gpu_ids", "-1"
|
| 49 |
]
|
| 50 |
subprocess.run(cmd, check=True)
|