OSNet Person ReID in Python: Choosing a Variant, Exporting to ONNX, and Measuring CPU Latency
Which OSNet model should you use for person re-identification, and how fast is it? We load torchreid model-zoo weights, match YOLO11 person crops, export to ONNX and time four variants on a laptop CPU, with code you can run.