Spaces:
Runtime error
Runtime error
Xu Ma
commited on
Commit
·
fe60785
1
Parent(s):
fc558da
Update main.py
Browse files
main.py
CHANGED
@@ -521,7 +521,7 @@ def main_func(target, experiment, cfg_arg):
|
|
521 |
|
522 |
### added for app
|
523 |
if int(t)%30==0:
|
524 |
-
print(f"debug: {t}, {filename} {img.size()}")
|
525 |
return img.detach().cpu().numpy(), int(t)
|
526 |
|
527 |
x = img.unsqueeze(0).permute(0, 3, 1, 2) # HWC -> NCHW
|
|
|
521 |
|
522 |
### added for app
|
523 |
if int(t)%30==0:
|
524 |
+
# print(f"debug: {t}, {filename} {img.size()}")
|
525 |
return img.detach().cpu().numpy(), int(t)
|
526 |
|
527 |
x = img.unsqueeze(0).permute(0, 3, 1, 2) # HWC -> NCHW
|