MCPcopy Create free account
hub / github.com/CompVis/zigma / parse_transport_args

Function parse_transport_args

utils/train_utils_args.py:11–17  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

9 return value
10
11def parse_transport_args(parser):
12 group = parser.add_argument_group("Transport arguments")
13 group.add_argument("--path-type", type=str, default="Linear", choices=["Linear", "GVP", "VP"])
14 group.add_argument("--prediction", type=str, default="velocity", choices=["velocity", "score", "noise"])
15 group.add_argument("--loss-weight", type=none_or_str, default=None, choices=[None, "velocity", "likelihood"])
16 group.add_argument("--sample-eps", type=float)
17 group.add_argument("--train-eps", type=float)
18
19def parse_ode_args(parser):
20 group = parser.add_argument_group("ODE arguments")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected