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

Method __init__

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

Source from the content-addressed store, hash-verified

109
110class thermal_module(nn.Module):
111 def __init__(self, arch='resnet50'):
112 super(thermal_module, self).__init__()
113
114 model_t = resnet50(pretrained=True,
115 last_conv_stride=1, last_conv_dilation=1)
116 # avg pooling to global pooling
117 self.thermal = model_t
118
119 def forward(self, x):
120 x = self.thermal.conv1(x)

Callers

nothing calls this directly

Calls 2

resnet50Function · 0.90
__init__Method · 0.45

Tested by

no test coverage detected