add Tensorboard + meanMetrics for training, actor3 processing
This commit is contained in:
1 parent
33e5cb7584
commit
ad93886668
36 files changed
+351
-214
No files matched your search
@@ -18,14 +18,14 @@ def main(args):
|
||||
|
||||
|
||||
# device = args.device
|
||||
device = "cuda:2"
|
||||
device = "cuda:7"
|
||||
|
||||
# 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/Actor2/processing")
|
||||
path_data = Path("/mfs/lsen/DATA/Actor3/processing")
|
||||
|
||||
v_dir_videos = sorted(path_data.glob("*"), reverse=False)
|
||||
print(f"Have {len(v_dir_videos)} dir files")
|
||||
@@ -75,10 +75,10 @@ def main(args):
|
||||
print(f"Have finised before, nkpt2d={nkpt2d} nframes = {nframes}")
|
||||
continue
|
||||
|
||||
|
||||
datatest = ObamaData(ipath_frame, iscrop=args.iscrop, face_detector=args.detector, device=device)
|
||||
dataloader = DataLoader(datatest, batch_size=128, shuffle=False, drop_last=False)
|
||||
|
||||
|
||||
for i, ibatch_data in enumerate(dataloader):
|
||||
batch_names = ibatch_data["names"]
|
||||
batch_image = ibatch_data["image"].to(device)
|
||||
|
||||
Reference in new issue
Block a user