diff --git a/dvc/output/local.py b/dvc/output/local.py index ddf6973d3..d52bbaea5 100644 --- a/dvc/output/local.py +++ b/dvc/output/local.py @@ -72,6 +72,9 @@ class OutputLOCAL(DependencyLOCAL): if not self.metric: return + if not os.path.exists(self.path): + return + if os.path.isdir(self.path): msg = 'Directory \'{}\' cannot be used as metrics.' raise DvcException(msg.format(self.rel_path))