Spaces:
Runtime error
Runtime error
Commit
·
8ca2651
1
Parent(s):
fbb3995
Update detect_frames.py
Browse files- scripts/detect_frames.py +2 -2
scripts/detect_frames.py
CHANGED
@@ -41,7 +41,7 @@ def main(args, config={}, verbose=True):
|
|
41 |
dirname = args.frames
|
42 |
|
43 |
locations = [
|
44 |
-
"elwha"
|
45 |
]
|
46 |
for loc in locations:
|
47 |
|
@@ -84,7 +84,7 @@ def main(args, config={}, verbose=True):
|
|
84 |
})
|
85 |
i += 1
|
86 |
result = json.dumps(ann_list)
|
87 |
-
with open('
|
88 |
f.write(result)
|
89 |
|
90 |
|
|
|
41 |
dirname = args.frames
|
42 |
|
43 |
locations = [
|
44 |
+
"elwha-val"
|
45 |
]
|
46 |
for loc in locations:
|
47 |
|
|
|
84 |
})
|
85 |
i += 1
|
86 |
result = json.dumps(ann_list)
|
87 |
+
with open(os.path.join(args.output, 'pred.json'), 'w') as f:
|
88 |
f.write(result)
|
89 |
|
90 |
|