# ReID算法
**Repository Path**: tommy0x7c00/reid
## Basic Information
- **Project Name**: ReID算法
- **Description**: No description available
- **Primary Language**: Python
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-06-27
- **Last Updated**: 2024-06-27
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 行人 ReID 算法
## 模型准备
[Fast ReID](https://github.com/JDAI-CV/fast-reid)
```bash
git clone git@github.com:JDAI-CV/fast-reid.git
```
### 模型下载:
[MODEL_ZOO](https://github.com/JDAI-CV/fast-reid/blob/master/MODEL_ZOO.md)
示例模型: BoT(R50)
### 模型导出:
[Export Model](https://github.com/JDAI-CV/fast-reid/blob/master/tools/deploy/README.md)
示例: 导出为 `onnx` 格式
```bash
python onnx_export.py \
--config-file fast-reid/configs/Market1501/bagtricks_R50.yml \
--name bot_r50 \
--output weights \
--opts MODEL.WEIGHTS market_bot_R50.pth
```
## Demo
[reid_pipeline](gear_reid/reid_pipeline.py)
```bash
python gear_reid/reid_pipeline.py
```