MCPcopy Index your code
hub / github.com/hzwer/ECCV2022-RIFE / __init__

Method __init__

model/IFNet_2R.py:54–61  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52
53class IFNet(nn.Module):
54 def __init__(self):
55 super(IFNet, self).__init__()
56 self.block0 = IFBlock(6, c=240)
57 self.block1 = IFBlock(13+4, c=150)
58 self.block2 = IFBlock(13+4, c=90)
59 self.block_tea = IFBlock(16+4, c=90)
60 self.contextnet = Contextnet()
61 self.unet = Unet()
62
63 def forward(self, x, scale=[4,2,1], timestep=0.5):
64 img0 = x[:, :3]

Callers 1

__init__Method · 0.45

Calls 3

IFBlockClass · 0.70
ContextnetClass · 0.70
UnetClass · 0.70

Tested by

no test coverage detected