MCPcopy Create free account
hub / github.com/XLearning-SCU/2022-CVPR-DART / __init__

Method __init__

model.py:94–100  ·  view source on GitHub ↗
(self, arch='resnet50')

Source from the content-addressed store, hash-verified

92
93class visible_module(nn.Module):
94 def __init__(self, arch='resnet50'):
95 super(visible_module, self).__init__()
96
97 model_v = resnet50(pretrained=True,
98 last_conv_stride=1, last_conv_dilation=1)
99 # avg pooling to global pooling
100 self.visible = model_v
101
102 def forward(self, x):
103 x = self.visible.conv1(x)

Callers

nothing calls this directly

Calls 2

resnet50Function · 0.90
__init__Method · 0.45

Tested by

no test coverage detected