MCPcopy Create free account
hub / github.com/Francis-Rings/MotionFollower / get_motion_module

Function get_motion_module

src/models/motion_module.py:33–40  ·  view source on GitHub ↗
(in_channels, motion_module_type: str, motion_module_kwargs: dict)

Source from the content-addressed store, hash-verified

31
32
33def get_motion_module(in_channels, motion_module_type: str, motion_module_kwargs: dict):
34 if motion_module_type == "Vanilla":
35 return VanillaTemporalModule(
36 in_channels=in_channels,
37 **motion_module_kwargs,
38 )
39 else:
40 raise ValueError
41
42
43class VanillaTemporalModule(nn.Module):

Callers 5

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls 1

Tested by

no test coverage detected