MCPcopy Create free account
hub / github.com/Vegetebird/GraphMLP / __init__

Method __init__

model/block/refine.py:6–21  ·  view source on GitHub ↗
(self, opt, fc_unit=1024)

Source from the content-addressed store, hash-verified

4
5class post_refine(nn.Module):
6 def __init__(self, opt, fc_unit=1024):
7 super().__init__()
8
9 if opt.refine:
10 fc_unit = 1536
11
12 fc_in = 3 * 2 *opt.n_joints
13 fc_out = 2 * opt.n_joints
14
15 self.post_refine = nn.Sequential(
16 nn.Linear(fc_in, fc_unit),
17 nn.ReLU(),
18 nn.Dropout(0.5,inplace=True),
19 nn.Linear(fc_unit, fc_out),
20 nn.Sigmoid()
21 )
22
23 def forward(self, x, x_1):
24 N, T, V,_ = x.size()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected