Spaces:
Runtime error
Runtime error
Commit
·
ba346b2
1
Parent(s):
5ef9d3c
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,9 @@ def calculate_fps(input_video, batch_size):
|
|
| 122 |
|
| 123 |
if frames_to_process % batch_size != 0:
|
| 124 |
batch_size = largest_divisor(batch_size)
|
| 125 |
-
|
|
|
|
|
|
|
| 126 |
return frames, batch_size, frames_to_process
|
| 127 |
|
| 128 |
def preprocess_and_invert(input_video,
|
|
|
|
| 122 |
|
| 123 |
if frames_to_process % batch_size != 0:
|
| 124 |
batch_size = largest_divisor(batch_size)
|
| 125 |
+
print("total vid duration", total_vid_duration)
|
| 126 |
+
print("frames to process", frames_to_process)
|
| 127 |
+
print("batch size", batch_size)
|
| 128 |
return frames, batch_size, frames_to_process
|
| 129 |
|
| 130 |
def preprocess_and_invert(input_video,
|