MCPcopy Create free account
hub / github.com/MiniMax-AI/VTP / __init__

Method __init__

tools/test_reconstruction_hf.py:128–133  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

126
127 class InceptionV3(nn.Module):
128 def __init__(self):
129 super().__init__()
130 model = inception_v3(weights='IMAGENET1K_V1', transform_input=False)
131 model.fc = nn.Identity()
132 model.aux_logits = False
133 self.model = model
134
135 def forward(self, x):
136 x = nn.functional.interpolate(x, size=(299, 299), mode='bilinear', align_corners=False)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected