add deployment tools of pytorch2onnx

This commit is contained in:
Sen Liang committed 2022-04-12 11:24:38 +08:00
1 parent 28810e9ed3
commit 91cdd0d678
9 files changed
+461 -71

No files matched your search

@@ -24,8 +24,9 @@ def main(args):
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/Actor2/processing")
path_data = Path("/mfs/lsen/DATA/Actor2/happy")
v_dir_videos = sorted(path_data.glob("*"), reverse=False)
print(f"Have {len(v_dir_videos)} dir files")
@@ -39,7 +40,6 @@ def main(args):
# if ivideo_name not in IDs: continue
# if i > 25: break
ipath_infor = ipath_data.joinpath("video/info.json")
ipath_frame = ipath_data.joinpath("frames")