MCPcopy Create free account
hub / github.com/OpenImagingLab/4DSloMo / __init__

Method __init__

lpipsPyTorch/modules/networks.py:67–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65
66class SqueezeNet(BaseNet):
67 def __init__(self):
68 super(SqueezeNet, self).__init__()
69
70 self.layers = models.squeezenet1_1(True).features
71 self.target_layers = [2, 5, 8, 10, 11, 12, 13]
72 self.n_channels_list = [64, 128, 256, 384, 384, 512, 512]
73
74 self.set_requires_grad(False)
75
76
77class AlexNet(BaseNet):

Callers

nothing calls this directly

Calls 2

set_requires_gradMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected