(self, x)
| 664 | self.classifier.apply(weights_init_classifier) |
| 665 | |
| 666 | def forward(self, x): |
| 667 | feature = self.bn(x) |
| 668 | if not self.training: |
| 669 | return feature |
| 670 | else: |
| 671 | cls_score = self.classifier(feature) |
| 672 | return cls_score |
| 673 | |
| 674 | class Attribute_Classifier5(nn.Module): |
| 675 | def __init__(self, dict_attribute, in_dim, projected_dim, norm_type='bn', use_independent_projection=True): |
nothing calls this directly
no outgoing calls
no test coverage detected