Spaces:
Runtime error
Runtime error
Commit
·
cb75d38
1
Parent(s):
0552c2e
Update detect_frames.py
Browse files- scripts/detect_frames.py +2 -1
scripts/detect_frames.py
CHANGED
@@ -69,7 +69,8 @@ def detect(in_seq_dir, out_seq_dir, model, device, verbose):
|
|
69 |
inference, image_shapes, width, height = do_detection(dataloader, model, device, verbose=verbose)
|
70 |
|
71 |
print(type(inference))
|
72 |
-
print(
|
|
|
73 |
json_obj = {
|
74 |
'inference': inference,
|
75 |
'image_shapes': image_shapes,
|
|
|
69 |
inference, image_shapes, width, height = do_detection(dataloader, model, device, verbose=verbose)
|
70 |
|
71 |
print(type(inference))
|
72 |
+
print(type(inference[0]))
|
73 |
+
print(len(inference[0]))
|
74 |
json_obj = {
|
75 |
'inference': inference,
|
76 |
'image_shapes': image_shapes,
|