Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hlf20010508/pytorch-yolo-v5-fall

基于yolov5的跌倒检测框架
https://github.com/hlf20010508/pytorch-yolo-v5-fall

Last synced: about 5 hours ago
JSON representation

基于yolov5的跌倒检测框架

Awesome Lists containing this project

README

        

# pytorch-yolo-v5-fall

训练
```
python3 train.py --weights yolov5x.pt --data data/mydata.yaml --epochs 50 --batch-size -1 --save-period 10
```

使用yolov5x作为预训练模型

训练集配置保存在data/mydata.yaml

模型保存在runs/train/exp/weights/best.pt


测试
```
python3 detect.py --weights runs/train/exp/weights/best.pt --nosave --conf-thres 0 --iou-thres 0 --save-txt --source fall-test/test
```

--source为测试集路径,需要自行更改