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

Function parse_ode_args

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

Source from the content-addressed store, hash-verified

17 group.add_argument("--train-eps", type=float)
18
19def parse_ode_args(parser):
20 group = parser.add_argument_group("ODE arguments")
21 group.add_argument("--sampling-method", type=str, default="dopri5", help="blackbox ODE solver methods; for full list check https://github.com/rtqichen/torchdiffeq")
22 group.add_argument("--atol", type=float, default=1e-6, help="Absolute tolerance")
23 group.add_argument("--rtol", type=float, default=1e-3, help="Relative tolerance")
24 group.add_argument("--reverse", action="store_true")
25 group.add_argument("--likelihood", action="store_true")
26
27def parse_sde_args(parser):
28 group = parser.add_argument_group("SDE arguments")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected