MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / get_classifier

Method get_classifier

timm/models/xception_aligned.py:157–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 in_chs=self.num_features, num_classes=num_classes, pool_type=global_pool, drop_rate=drop_rate)
156
157 def get_classifier(self):
158 return self.head.fc
159
160 def reset_classifier(self, num_classes, global_pool='avg'):
161 self.head = ClassifierHead(self.num_features, num_classes, pool_type=global_pool, drop_rate=self.drop_rate)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected