add actor7Data
This commit is contained in:
1 parent
922a98e36b
commit
a4c53e3265
22 files changed
+1802
-50
No files matched your search
@@ -17,13 +17,13 @@ from decalib.utils.config import cfg as deca_cfg
|
||||
def main(args):
|
||||
|
||||
# device = args.device
|
||||
device = "cuda:3"
|
||||
device = "cuda:8"
|
||||
# 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("/ssdata1/lsen/DATA/Actor5/processing")
|
||||
path_data = Path("/ssdata1/lsen/DATA/Actor5/smile")
|
||||
|
||||
v_dir_videos = sorted(path_data.glob("*"), reverse=False)
|
||||
print(f"Have {len(v_dir_videos)} dir files")
|
||||
@@ -68,10 +68,10 @@ def main(args):
|
||||
continue
|
||||
|
||||
# check if finish
|
||||
nkpt2d = len(list(ipath_coeff.glob("*.npy")))
|
||||
if nkpt2d + 10 > nframes:
|
||||
print(f"Have finised before, nkpt2d={nkpt2d} nframes = {nframes}")
|
||||
continue
|
||||
# nkpt2d = len(list(ipath_coeff.glob("*.npy")))
|
||||
# if nkpt2d + 10 > nframes:
|
||||
# print(f"Have finised before, nkpt2d={nkpt2d} nframes = {nframes}")
|
||||
# continue
|
||||
|
||||
|
||||
datatest = ObamaData(ipath_frame, iscrop=args.iscrop, face_detector=args.detector, device=device)
|
||||
|
||||
Reference in new issue
Block a user