MCPcopy Create free account
hub / github.com/OpenImagingLab/4DSloMo / extract

Method extract

arguments/__init__.py:40–45  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

38 group.add_argument("--" + key, default=value, type=t)
39
40 def extract(self, args):
41 group = GroupParams()
42 for arg in vars(args).items():
43 if arg[0] in vars(self) or ("_" + arg[0]) in vars(self):
44 setattr(group, arg[0], arg[1])
45 return group
46
47class ModelParams(ParamGroup):
48 def __init__(self, parser, sentinel=False):

Callers 3

train.pyFile · 0.45
render.pyFile · 0.45
extractMethod · 0.45

Calls 1

GroupParamsClass · 0.85

Tested by

no test coverage detected