108 Star 866 Fork 1.5K

MindSpore/models

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Gold-YOLO : YOLO with Gather-and-Distribute Mechanism

Benchmark

benchmark and pretrained weights

Model Distill Pre-Train mAP-all @ 0.50:0.95 mAP-all @ 0.50 mAP-all @ 0.75 mAP-small @ 0.50:0.95 mAP-medium @ 0.50:0.95 mAP-large @ 0.50:0.95 MindSpore Checkpoint
Gold-YOLO-N 39.9 56.0 43.3 19.5 44.2 57.9 Gold_n-dist-state_dict_ms.ckpt
Gold-YOLO-S 46.5 63.5 50.4 26.0 51.4 63.7 Gold_s-pre-dist-state_dict_ms.ckpt
Gold-YOLO-M 51.1 68.5 55.4 32.4 56.2 68.5 Gold_m-pre-dist-state_dict_ms.ckpt
Gold-YOLO-L 53.2 71.0 58.3 34.0 58.8 70.0 Gold_l-pre-dist-state_dict_ms.ckpt

install requirements

pip install -r requirements.txt

eval

  1. change the data/coco.yaml to your data path

  2. download the MindSpore Checkpoint from Benchmark to the pretrain fold

  3. eval Gold-YOLO

    # eval Gold-YOLO-n
    python tools/eval.py --reproduce_640_eval --data data/coco.yaml --conf_file configs/gold_yolo-n.py --weights pretrain/Gold_n-dist-state_dict_ms.ckpt
    
    # eval Gold-YOLO-s
    python tools/eval.py --reproduce_640_eval --data data/coco.yaml --conf_file configs/gold_yolo-s.py --weights pretrain/Gold_s-pre-dist-state_dict_ms.ckpt
    
    # eval Gold-YOLO-m
    python tools/eval.py --reproduce_640_eval --data data/coco.yaml --conf_file configs/gold_yolo-m.py --weights pretrain/Gold_m-pre-dist-state_dict_ms.ckpt
    
    # eval Gold-YOLO-l
    python tools/eval.py --reproduce_640_eval --data data/coco.yaml --conf_file configs/gold_yolo-l.py --weights pretrain/Gold_l-pre-dist-state_dict_ms.ckpt
    
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mindspore/models.git
git@gitee.com:mindspore/models.git
mindspore
models
models
master

搜索帮助