DomainAdaptiveReID
DomainAdaptiveReID copied to clipboard
i train the model on dataset dukemtmc, how can i evaluate the model on dataset market1501 before Adaptation
i cna't load the model trained on duckmtmc, dukemtmc, num_classes=632 , market1501 ,num_classes=676,when i load the model , RuntimeError: Error(s) in loading state_dict for ResNet: size mismatch for classifier_x2.weight: copying a param with shape torch.Size([632, 2048]) from checkpoint, the shape in current model is torch.Size([676, 2048]). size mismatch for classifier_x2.bias: copying a param with shape torch.Size([632]) from checkpoint, the shape in current model is torch.Size([676]).
For evaluation, you don't need to care about the last fc layer.