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

Class visible_module

model.py:93–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91
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)
104 x = self.visible.bn1(x)
105 x = self.visible.relu(x)
106 x = self.visible.maxpool(x)
107 return x
108
109
110class thermal_module(nn.Module):

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected