Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create data util submodule for bbn things, util for frame extraction, coco file #29

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

Purg
Copy link
Member

@Purg Purg commented Oct 11, 2024

Added tooling for creating an activity classification truth COCO file. Includes frame extraction standardization and improving the BBN truth file parsing with regular expressions, handling an additional aspect of per-step error labels.

@Purg Purg requested a review from periakiva October 11, 2024 22:02
class VideoInfo:
truth_path: Path
mp4_path: Path
frames_dir: Path = dataclasses.field(init=False)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very picky review item: do we have a differentiation between _path and _dir?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Path" seems generic to me - I'm not sure if I'm looking at a filepath or a path to a directory or a Path object that could be either?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair, I can rename the paths intended for files to be _file instead of a generic _path

@Purg Purg force-pushed the dev/bbn-coco-script branch from c9c52a4 to ebdd662 Compare October 15, 2024 15:50
@Purg Purg requested a review from josephvanpeltkw October 15, 2024 15:50
@Purg Purg merged commit ee6d934 into PTG-Kitware:main Oct 15, 2024
0 of 11 checks passed
@Purg Purg deleted the dev/bbn-coco-script branch October 15, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants