MCPcopy Create free account
hub / github.com/bingchenlll/FastGAN-pytorch / __init__

Method __init__

lpips/networks_basic.py:145–148  ·  view source on GitHub ↗
(self, use_gpu=True, colorspace='Lab')

Source from the content-addressed store, hash-verified

143# L2, DSSIM metrics
144class FakeNet(nn.Module):
145 def __init__(self, use_gpu=True, colorspace='Lab'):
146 super(FakeNet, self).__init__()
147 self.use_gpu = use_gpu
148 self.colorspace=colorspace
149
150class L2(FakeNet):
151

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected