MCPcopy Create free account
hub / github.com/Sin3DM/Sin3DM / add_base_options

Function add_base_options

src/utils/parser_util.py:6–10  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

4
5
6def add_base_options(parser):
7 group = parser.add_argument_group("base")
8 group.add_argument("--tag", type=str, required=True, help="checkpoint directory")
9 group.add_argument("-g", "--gpu_id", default=0, type=int, help="Device id to use.")
10 group.add_argument('--only_enc', action='store_true', help="")
11
12
13def add_encoding_training_options(parser):

Callers 2

train_argsFunction · 0.85
sample_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected