Skip to content

Commit

Permalink
add parents on the frame creation
Browse files Browse the repository at this point in the history
  • Loading branch information
josephvanpeltkw committed Nov 1, 2024
1 parent ac3b187 commit e6a0bc2
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 @@ -83,7 +83,7 @@ def extract_bbn_video_frames(
not output_directory.is_dir()
or len(list(output_directory.iterdir())) != num_frames
):
output_directory.mkdir(exist_ok=True)
output_directory.mkdir(exist_ok=True, parents=True)
report_name = f"{video_path.parent.name}/{video_path.name}"
for i in tqdm(
range(int(num_frames)),
Expand Down

0 comments on commit e6a0bc2

Please sign in to comment.