Skip to content

Commit

Permalink
create parent folder if it doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
josephvanpeltkw committed Nov 1, 2024
1 parent 4c25924 commit ac3b187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcn_hpl/data/utils/bbn.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def create_truth_coco(
~/dev/darpa-ptg/angel_system/config/activity_labels/medical/m2.yaml \\
~/data/darpa-ptg/bbn_data/lab_data-working/m2_tourniquet/positive/3_tourns_122023-activity_truth.json
"""
working_directory.mkdir(exist_ok=True)
working_directory.mkdir(exist_ok=True, parents=True)

# Discover MP4 and truth text file pairs recursively.
# video_info's keys should be a type that we can sort to perform actions
Expand Down

0 comments on commit ac3b187

Please sign in to comment.