zzl
commited on
Commit
·
1947ad8
1
Parent(s):
981d2df
release
Browse files- demo_vid.py +1 -1
demo_vid.py
CHANGED
@@ -46,7 +46,7 @@ def vid2vid(model_type, video, iters):
|
|
46 |
if scale < 1:
|
47 |
print(f"Due to the limited VRAM, the video will be scaled by {scale:.2f}")
|
48 |
padding = int(16 / scale)
|
49 |
-
padder = InputPadder(
|
50 |
while True:
|
51 |
ret, frame = vcap.read()
|
52 |
if ret is False:
|
|
|
46 |
if scale < 1:
|
47 |
print(f"Due to the limited VRAM, the video will be scaled by {scale:.2f}")
|
48 |
padding = int(16 / scale)
|
49 |
+
padder = InputPadder((h, w), padding)
|
50 |
while True:
|
51 |
ret, frame = vcap.read()
|
52 |
if ret is False:
|