Skip to content

UCF101 Sketchy Fix #4204

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

UCF101 Sketchy Fix #4204

wants to merge 6 commits into from

Conversation

bjuncek
Copy link
Contributor

@bjuncek bjuncek commented Jul 22, 2021

Providing a quick-fix for #4112 by exposing pts_unit to videoclips object.

@prabhat00155 prabhat00155 self-requested a review September 7, 2021 18:43
Copy link
Contributor

@prabhat00155 prabhat00155 left a comment

Choose a reason for hiding this comment

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

Thanks @bjuncek. Can you add a unit test as well?

@@ -55,14 +55,15 @@ class _VideoTimestampsDataset(object):
pickled when forking.
"""

def __init__(self, video_paths: List[str]):
def __init__(self, video_paths: List[str], pts_unit: str):
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the class being private the reason for not having a default value for pts_unit?

@@ -83,6 +83,8 @@ def __init__(
_video_height=_video_height,
_video_min_dimension=_video_min_dimension,
_audio_samples=_audio_samples,
_pts_unit="pts"

Copy link
Contributor

Choose a reason for hiding this comment

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

Unnecessary new line, plus , at the end would be preferable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants