Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
517f6d3b
"docs/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "d004d7798e7874179e9be5671244ca8b3f2760ec"
Unverified
Commit
517f6d3b
authored
Nov 13, 2023
by
vfdev
Committed by
GitHub
Nov 13, 2023
Browse files
Fixed mypy issue in VideoClips (#8113)
parent
15c166ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/datasets/video_utils.py
torchvision/datasets/video_utils.py
+1
-1
No files found.
torchvision/datasets/video_utils.py
View file @
517f6d3b
...
@@ -136,7 +136,7 @@ class VideoClips:
...
@@ -136,7 +136,7 @@ class VideoClips:
def
_compute_frame_pts
(
self
)
->
None
:
def
_compute_frame_pts
(
self
)
->
None
:
self
.
video_pts
=
[]
self
.
video_pts
=
[]
self
.
video_fps
=
[]
self
.
video_fps
:
List
[
int
]
=
[]
# strategy: use a DataLoader to parallelize read_video_timestamps
# strategy: use a DataLoader to parallelize read_video_timestamps
# so need to create a dummy dataset first
# so need to create a dummy dataset first
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment