Spaces:
Runtime error
Runtime error
pickle the frames so easier to debug downstream
Browse files- debug_001.py +4 -0
- frames.pkl +3 -0
debug_001.py
CHANGED
|
@@ -54,6 +54,10 @@ with open("chunks.pkl", "rb") as f:
|
|
| 54 |
bytes_io.seek(0, io.SEEK_END)
|
| 55 |
continue
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
|
| 58 |
if mpv_process.stdin:
|
| 59 |
mpv_process.stdin.close()
|
|
|
|
| 54 |
bytes_io.seek(0, io.SEEK_END)
|
| 55 |
continue
|
| 56 |
|
| 57 |
+
with open("frames.pkl", "wb") as f:
|
| 58 |
+
import pickle
|
| 59 |
+
pickle.dump(chunks, f)
|
| 60 |
+
|
| 61 |
|
| 62 |
if mpv_process.stdin:
|
| 63 |
mpv_process.stdin.close()
|
frames.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d85ef7ee28d01dab9ee6faa439f791a1647cc937e0c68e3e5a73d5bd2f071d7f
|
| 3 |
+
size 117337
|