update run actor4data
This commit is contained in:
1 parent
7550ffe30f
commit
e6c668fef5
5 files changed
+27
-18
No files matched your search
@@ -17,27 +17,26 @@ from decalib.utils.config import cfg as deca_cfg
|
||||
def main(args):
|
||||
|
||||
# device = args.device
|
||||
device = "cuda:7"
|
||||
device = "cuda:5"
|
||||
|
||||
# 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("/mfs/lsen/DATA/Actor4/processing")
|
||||
path_data = Path("/mfs/lsen/DATA/Actor4/smile")
|
||||
|
||||
v_dir_videos = sorted(path_data.glob("*"), reverse=True)
|
||||
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[1:]):
|
||||
for i, ipath_data in enumerate(v_dir_videos[4:]):
|
||||
ivideo_name = ipath_data.stem
|
||||
print(f"\n processing {i}/{len(v_dir_videos)} ...", ivideo_name)
|
||||
# if ivideo_name not in IDs: continue
|
||||
|
||||
# if i > 25: break
|
||||
|
||||
ipath_infor = ipath_data.joinpath("video/info.json")
|
||||
|
||||
Reference in new issue
Block a user