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

Method __init__

arguments/__init__.py:48–62  ·  view source on GitHub ↗
(self, parser, sentinel=False)

Source from the content-addressed store, hash-verified

46
47class ModelParams(ParamGroup):
48 def __init__(self, parser, sentinel=False):
49 self.sh_degree = 3
50 self._source_path = ""
51 self._model_path = ""
52 self._images = "images"
53 self._resolution = -1
54 self._white_background = False
55 self.data_device = "cuda"
56 self.eval = False
57 self.extension = ".png"
58 self.num_extra_pts = 0
59 self.loaded_pth = ""
60 self.frame_ratio = 1
61 self.dataloader = False
62 super().__init__(parser, "Loading Parameters", sentinel)
63
64 def extract(self, args):
65 g = super().extract(args)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected