Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 548 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 548 Bytes

Extractor

We directly train/evaluate the feature extractor by the torchreid library.

We also use the vehicle ReID pretrained model for fine-tuning.

model = torchreid.models.build_model(
        name="osnet_x1_0",
        num_classes=datamanager.num_train_pids,
        loss="softmax",
        pretrained=True
)

To visualize the feature embeddings are correct distributed in high-dimension space, you can follow the tools/visualize_features.py.