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