Skip to content

Commit

Permalink
[fbsync] Fixed mypy issue in VideoClips (#8113)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D51391971

fbshipit-source-id: 2df538eaa3abab2f37ff271208a160906d80e9e1
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Nov 16, 2023
1 parent f7bc701 commit 0f588e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchvision/datasets/video_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def __init__(

def _compute_frame_pts(self) -> None:
self.video_pts = []
self.video_fps = []
self.video_fps: List[int] = []

# strategy: use a DataLoader to parallelize read_video_timestamps
# so need to create a dummy dataset first
Expand Down

0 comments on commit 0f588e4

Please sign in to comment.