add eval.py with metrics
This commit is contained in:
1 parent
11277e478f
commit
baed1fffe3
53 files changed
+5844
-378
No files matched your search
@@ -18,21 +18,19 @@ def main(args):
|
||||
|
||||
|
||||
# device = args.device
|
||||
device = "cuda:8"
|
||||
|
||||
device = "cuda:6"
|
||||
|
||||
# run DECA
|
||||
deca_cfg.model.use_tex = args.useTex
|
||||
deca = DECA(config = deca_cfg, device=device)
|
||||
|
||||
# path_data = Path("/yrfs/lsen/DATA/TestData/processing")
|
||||
path_data = Path("/yrfs/lsen/DATA/Actor1/processing")
|
||||
path_data = Path("/mfs/lsen/DATA/Actor1/processing")
|
||||
|
||||
v_dir_videos = sorted(path_data.glob("*"), reverse=False)
|
||||
print(f"Have {len(v_dir_videos)} dir files")
|
||||
|
||||
# IDs = ["actor-2HD", "actor-3HD"]
|
||||
# IDs = ["clip_full"]
|
||||
|
||||
|
||||
# for each video
|
||||
for i, ipath_data in enumerate(v_dir_videos):
|
||||
|
||||
Reference in new issue
Block a user