From 8304144177ac6e0f6755295bcc8774f1422ad919 Mon Sep 17 00:00:00 2001 From: Prabhat Roy Date: Sun, 5 Dec 2021 12:43:18 +0000 Subject: [PATCH] Add missing space in error message --- torchvision/io/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torchvision/io/__init__.py b/torchvision/io/__init__.py index 382e06fb4f2..8ee832f43d7 100644 --- a/torchvision/io/__init__.py +++ b/torchvision/io/__init__.py @@ -110,7 +110,7 @@ def __init__(self, path: str, stream: str = "video", num_threads: int = 0) -> No raise RuntimeError( "Not compiled with video_reader support, " + "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." ) self._c = torch.classes.torchvision.Video(path, stream, num_threads)