Fix the output file name bug
Browse files
VidSTG/read_annotation_multithread.py
CHANGED
@@ -36,7 +36,7 @@ def main():
|
|
36 |
all_results.extend(future.result())
|
37 |
progress.update(1)
|
38 |
|
39 |
-
with open(
|
40 |
json.dump(all_results, json_file)
|
41 |
|
42 |
|
|
|
36 |
all_results.extend(future.result())
|
37 |
progress.update(1)
|
38 |
|
39 |
+
with open(args.output, 'w') as json_file:
|
40 |
json.dump(all_results, json_file)
|
41 |
|
42 |
|