Spaces:
Runtime error
Runtime error
Commit
·
1a7154b
1
Parent(s):
4744754
Update track_detection.py
Browse files
scripts/track_detection.py
CHANGED
@@ -76,6 +76,9 @@ def track(in_path, out_path, metadata_path, seq_name, config, verbose):
|
|
76 |
# read detection
|
77 |
with open(in_path, 'r') as f:
|
78 |
detection = json.load(f)
|
|
|
|
|
|
|
79 |
|
80 |
inference = detection['inference']
|
81 |
image_shapes = detection['image_shapes']
|
|
|
76 |
# read detection
|
77 |
with open(in_path, 'r') as f:
|
78 |
detection = json.load(f)
|
79 |
+
print('inference' in detection)
|
80 |
+
print('image_shapes' in detection)
|
81 |
+
print(detection)
|
82 |
|
83 |
inference = detection['inference']
|
84 |
image_shapes = detection['image_shapes']
|