MCPcopy Create free account
hub / github.com/computational-imaging/bacon / __init__

Method __init__

experiments/render_nerf.py:60–69  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

58 rank: int
59
60 def __init__(self, **kwargs):
61 names = set([f.name for f in dataclasses.fields(self)])
62 for k, v in kwargs.items():
63 if k in names:
64 setattr(self, k, self.__annotations__[k](v))
65
66 if 'supervise_hr' not in kwargs.keys():
67 self.supervise_hr = False
68
69 self.img_size = 512
70
71
72def load_dataset(opt, res, scale):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected