MCPcopy Create free account
hub / github.com/NVlabs/InstantSplat / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

87
88class VGG16(BaseNet):
89 def __init__(self):
90 super(VGG16, self).__init__()
91
92 self.layers = models.vgg16(weights=models.VGG16_Weights.IMAGENET1K_V1).features
93 self.target_layers = [4, 9, 16, 23, 30]
94 self.n_channels_list = [64, 128, 256, 512, 512]
95
96 self.set_requires_grad(False)

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

set_requires_gradMethod · 0.80

Tested by

no test coverage detected