MCPcopy Create free account
hub / github.com/ActiveVisionLab/DFNet / __init__

Method __init__

script/feature/model.py:393–398  ·  view source on GitHub ↗
(self, feat_dim=12)

Source from the content-addressed store, hash-verified

391# PoseNet (SE(3)) w/ mobilev2 backbone
392class PoseNetV2(nn.Module):
393 def __init__(self, feat_dim=12):
394 super(PoseNetV2, self).__init__()
395 self.backbone_net = models.mobilenet_v2(pretrained=True)
396 self.feature_extractor = self.backbone_net.features
397 self.avgpool = nn.AdaptiveAvgPool2d(1)
398 self.fc_pose = nn.Linear(1280, feat_dim)
399
400 def _aggregate_feature(self, x, upsampleH, upsampleW):
401 '''

Callers 9

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

Calls

no outgoing calls

Tested by

no test coverage detected