diff --git a/sloth/annotations/container.py b/sloth/annotations/container.py index bc7b6eb..5a5d293 100644 --- a/sloth/annotations/container.py +++ b/sloth/annotations/container.py @@ -168,7 +168,7 @@ class AnnotationContainer: the video from a path relative to the label files directory. """ fullpath = str(self._fullpath(filename)) - if not os.path.exists(fullpath): + if not os.path.exists(fullpath) and not os.path.exists(fullpath.split('%')[0]): LOG.warn("Video file %s does not exist." % fullpath) return None