MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / __init__

Method __init__

datasets/bucket_config.py:137–139  ·  view source on GitHub ↗
(self, t, h, w)

Source from the content-addressed store, hash-verified

135 t_tick_size = 8
136
137 def __init__(self, t, h, w) -> None:
138 self.size = self.net_size(t, h, w)
139 self.thw = np.prod(self.size)
140
141 def net_size(self, t, h, w):
142 h = h // self.common_factor * self.common_factor

Callers

nothing calls this directly

Calls 1

net_sizeMethod · 0.95

Tested by

no test coverage detected