(self)
| 63 | self.update_block = BasicUpdateBlock(self.args, hidden_dim=hdim) |
| 64 | |
| 65 | def freeze_bn(self): |
| 66 | for m in self.modules(): |
| 67 | if isinstance(m, nn.BatchNorm2d): |
| 68 | m.eval() |
| 69 | |
| 70 | def initialize_flow(self, img): |
| 71 | """ Flow is represented as difference between two coordinate grids flow = coords1 - coords0""" |
nothing calls this directly
no outgoing calls
no test coverage detected