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

@@ -45,7 +45,7 @@ def _convert_batchnorm(module):
def parse_args():
parser = argparse.ArgumentParser(description='Convert DigitalHuman models to ONNX')
parser.add_argument("--opt", type=str, default="experiments/xxx.yaml", help="experiment configure file name")
parser.add_argument("--opt", type=str, default="experiments/audio2mesh/infer_audio2mesh_CN_20220312.yaml", help="experiment configure file name")
args, _ = parser.parse_known_args()
update_config(args.opt)