Skip to content

Commit

Permalink
Fix issue with pose generation not writing parent directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Purg committed Dec 10, 2024
1 parent cde2144 commit 36df09d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tcn_hpl/data/utils/pose_generation/generate_pose_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,6 +516,7 @@ def img_done_cb(out_dset: kwcoco.CocoDataset) -> None:
pose_model_device=pose_device,
)
output_dset = pg.predict_coco(input_dset, img_done_cb)
output_coco_filepath.parent.mkdir(parents=True, exist_ok=True)
output_dset.dump(
output_coco_filepath,
newlines=True,
Expand Down

0 comments on commit 36df09d

Please sign in to comment.