We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5b601 commit 57c5407Copy full SHA for 57c5407
torchvision/__init__.py
@@ -62,7 +62,11 @@ def set_video_backend(backend):
62
"Invalid video backend '%s'. Options are 'pyav' and 'video_reader'" % backend
63
)
64
if backend == "video_reader" and not io._HAS_VIDEO_OPT:
65
- warnings.warn("video_reader video backend is not available")
+ message = (
66
+ "video_reader video backend is not available."
67
+ " Please compile torchvision from source and try again"
68
+ )
69
+ warnings.warn(message)
70
else:
71
_video_backend = backend
72
0 commit comments