MCPcopy Create free account
hub / github.com/OpenTalker/StyleHEAT / __init__

Method __init__

loss/lpips.py:90–97  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88
89class AlexNet(BaseNet):
90 def __init__(self):
91 super(AlexNet, self).__init__()
92
93 self.layers = models.alexnet(True).features
94 self.target_layers = [2, 5, 8, 10, 12]
95 self.n_channels_list = [64, 192, 384, 256, 256]
96
97 self.set_requires_grad(False)
98
99
100class VGG16(BaseNet):

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
set_requires_gradMethod · 0.45

Tested by

no test coverage detected