コード例 #1
0
ファイル: executor.py プロジェクト: zzzazzzz/vmaf
 def _assert_paths(self, asset):
     # Override Executor._assert_paths to skip asserting on ref_path
     assert os.path.exists(asset.dis_path) or match_any_files(asset.dis_path), \
         "Distorted path {} does not exist.".format(asset.dis_path)
コード例 #2
0
ファイル: executor.py プロジェクト: stoth68000/vmaf
 def _assert_paths(self, asset):
     # Override Executor._assert_paths to skip asserting on ref_path
     assert os.path.exists(asset.dis_path) or match_any_files(asset.dis_path), \
         "Distorted path {} does not exist.".format(asset.dis_path)
コード例 #3
0
ファイル: executor.py プロジェクト: zzzazzzz/vmaf
 def _assert_paths(self, asset):
     assert os.path.exists(asset.ref_path) or match_any_files(asset.ref_path), \
         "Reference path {} does not exist.".format(asset.ref_path)
     assert os.path.exists(asset.dis_path) or match_any_files(asset.dis_path), \
         "Distorted path {} does not exist.".format(asset.dis_path)
コード例 #4
0
ファイル: executor.py プロジェクト: stoth68000/vmaf
 def _assert_paths(self, asset):
     assert os.path.exists(asset.ref_path) or match_any_files(asset.ref_path), \
         "Reference path {} does not exist.".format(asset.ref_path)
     assert os.path.exists(asset.dis_path) or match_any_files(asset.dis_path), \
         "Distorted path {} does not exist.".format(asset.dis_path)