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
9b57de6c
Unverified
Commit
9b57de6c
authored
Dec 05, 2021
by
Prabhat Roy
Committed by
GitHub
Dec 05, 2021
Browse files
Add missing space in error message (#5031)
parent
a3d87195
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/io/__init__.py
torchvision/io/__init__.py
+1
-1
No files found.
torchvision/io/__init__.py
View file @
9b57de6c
...
@@ -110,7 +110,7 @@ class VideoReader:
...
@@ -110,7 +110,7 @@ class VideoReader:
raise
RuntimeError
(
raise
RuntimeError
(
"Not compiled with video_reader support, "
"Not compiled with video_reader support, "
+
"to enable video_reader support, please install "
+
"to enable video_reader support, please install "
+
"ffmpeg (version 4.2 is currently supported) and"
+
"ffmpeg (version 4.2 is currently supported) and
"
+
"build torchvision from source."
+
"build torchvision from source."
)
)
self
.
_c
=
torch
.
classes
.
torchvision
.
Video
(
path
,
stream
,
num_threads
)
self
.
_c
=
torch
.
classes
.
torchvision
.
Video
(
path
,
stream
,
num_threads
)
...
...
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