Spaces:
Runtime error
Runtime error
Xu Ma
commited on
Commit
•
b3db8dd
1
Parent(s):
b365aa9
Update main.py
Browse files
main.py
CHANGED
@@ -520,7 +520,7 @@ def main_func(target, experiment, cfg_arg):
|
|
520 |
pydiffvg.imwrite(imshow, filename, gamma=gamma)
|
521 |
|
522 |
### added for app
|
523 |
-
if t%
|
524 |
print(f"debug: {t}, {filename} {img.size()}")
|
525 |
return img.detach().cpu().numpy(), None
|
526 |
|
|
|
520 |
pydiffvg.imwrite(imshow, filename, gamma=gamma)
|
521 |
|
522 |
### added for app
|
523 |
+
if int(t)%10==0:
|
524 |
print(f"debug: {t}, {filename} {img.size()}")
|
525 |
return img.detach().cpu().numpy(), None
|
526 |
|