Skip to content

Commit 47eaa0d

Browse files
Fix wget URL for osnet_x1_0 model download
- Update download URL from broken v1.0/osnet_x1_0.onnx to reid-models-v1.0.0/osnet_x1_0_dukemtmcreid.pt - Add instructions to convert .pt to .onnx format using export script - Update code example to use correct model filename Fixes #1 Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 505c703 commit 47eaa0d

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

docs/tutorials/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,12 @@ Add appearance features for better re-identification.
117117
### Download ReID Model
118118

119119
```bash
120-
# Download OSNet model
121-
wget https://github.com/Geekgineer/motcpp/releases/download/v1.0/osnet_x1_0.onnx
120+
# Download OSNet model (PyTorch format)
121+
wget https://github.com/Geekgineer/motcpp/releases/download/reid-models-v1.0.0/osnet_x1_0_dukemtmcreid.pt
122+
123+
# Convert to ONNX format (required for motcpp)
124+
python3 scripts/export_reid_onnx.py --model osnet_x1_0_dukemtmcreid --output-dir .
125+
# This will create osnet_x1_0_dukemtmcreid.onnx in the current directory
122126
```
123127

124128
### Create ReID Tracker
@@ -128,7 +132,7 @@ wget https://github.com/Geekgineer/motcpp/releases/download/v1.0/osnet_x1_0.onnx
128132

129133
// StrongSORT with ReID
130134
motcpp::trackers::StrongSORT tracker(
131-
"osnet_x1_0.onnx", // ReID model path
135+
"osnet_x1_0_dukemtmcreid.onnx", // ReID model path (after conversion from .pt)
132136
false, // use_half (FP16)
133137
false, // use_gpu
134138
0.3f, // det_thresh

0 commit comments

Comments
 (0)