dgs.models.similarity.torchreid.TorchreidVisualSimilarity.get_target

TorchreidVisualSimilarity.get_target(ds: State) torch.Tensor[source]

Given a State get the target embedding or compute it using the image crop.