MCPcopy Create free account
hub / github.com/deepbrainai-research/float / __init__

Method __init__

models/float/generator.py:8–12  ·  view source on GitHub ↗
(self, size, style_dim=512, motion_dim=20, channel_multiplier=1, blur_kernel=[1, 3, 3, 1])

Source from the content-addressed store, hash-verified

6
7class Generator(BaseModel):
8 def __init__(self, size, style_dim=512, motion_dim=20, channel_multiplier=1, blur_kernel=[1, 3, 3, 1]):
9 super().__init__()
10
11 self.enc = Encoder(size, style_dim, motion_dim)
12 self.dec = Synthesis(size, style_dim, motion_dim, blur_kernel, channel_multiplier)
13
14 def get_direction(self):
15 return self.dec.direction(None)

Callers

nothing calls this directly

Calls 2

EncoderClass · 0.85
SynthesisClass · 0.85

Tested by

no test coverage detected