oskarastrom commited on
Commit
4744754
·
1 Parent(s): 1953d07

Update track_detection.py

Browse files
Files changed (1) hide show
  1. scripts/track_detection.py +1 -1
scripts/track_detection.py CHANGED
@@ -75,7 +75,7 @@ def track(in_path, out_path, metadata_path, seq_name, config, verbose):
75
 
76
  # read detection
77
  with open(in_path, 'r') as f:
78
- detection = json.read(f)
79
 
80
  inference = detection['inference']
81
  image_shapes = detection['image_shapes']
 
75
 
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']