File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -330,9 +330,10 @@ def main_parser() -> argparse.ArgumentParser:
330330 )
331331 parser_frz .add_argument (
332332 "--head" ,
333+ "--model-branch" ,
333334 default = None ,
334335 type = str ,
335- help = "(Supported backend: PyTorch) Task head to freeze if in multi-task mode." ,
336+ help = "(Supported backend: PyTorch) Task head (alias: model branch) to freeze if in multi-task mode." ,
336337 )
337338
338339 # * test script ********************************************************************
@@ -409,9 +410,10 @@ def main_parser() -> argparse.ArgumentParser:
409410 )
410411 parser_tst .add_argument (
411412 "--head" ,
413+ "--model-branch" ,
412414 default = None ,
413415 type = str ,
414- help = "(Supported backend: PyTorch) Task head to test if in multi-task mode." ,
416+ help = "(Supported backend: PyTorch) Task head (alias: model branch) to test if in multi-task mode." ,
415417 )
416418
417419 # * compress model *****************************************************************
You can’t perform that action at this time.
0 commit comments