add eval.py with metrics

This commit is contained in:
Sen Liang committed 2022-04-01 11:30:24 +08:00
1 parent 11277e478f
commit baed1fffe3
53 files changed
+5844 -378

No files matched your search

@@ -7,7 +7,6 @@ from pathlib import Path
if __name__ == "__main__":
# path_data = Path('/yrfs/lsen/DATA/TestData/processing') # '../data/trinity/source'
path_data = Path("/yrfs/lsen/DATA/Actor2/processing")
v_dir_videos = sorted(path_data.glob("*"))
print(f"Have {len(v_dir_videos)} dir files")
@@ -33,7 +32,6 @@ if __name__ == "__main__":
if not ipath_infors.exists():
continue
# load video info
with open(str(ipath_infors), "r") as f:
info = json.load(f)