mindspore-lab / mindcv

A toolbox of vision models and algorithms based on MindSpore
https://mindspore-lab.github.io/mindcv/
Apache License 2.0
235 stars 143 forks source link

[vit_l32_224] [Ascend910] [GRAPH] Unable to reproduce precision #726

Closed 787918582 closed 3 months ago

787918582 commented 1 year ago

If this is your first time, please read our contributor guidelines: https://github.com/mindspore-lab/mindcv/blob/main/CONTRIBUTING.md

Describe the bug/ 问题描述 (Mandatory / 必填) 精度劣化

To Reproduce / 重现步骤 (Mandatory / 必填) Steps to reproduce the behavior: 1.mpirun --allow-run-as-root -n 8 python train.py --config configs/vit/vit_l32_224_ascend.yaml --distribute True --data_dir /ImageNet_Origin/

Expected behavior / 预期结果 (Mandatory / 必填) 复现readme精度

Screenshots/ 日志 / 截图 (Mandatory / 必填) readme精度: Model Top-1 (%) Top-5 (%) vit_l32_224 73.71 90.92 The best validation Top_1_Accuracy is: 71.7320% at epoch 293.

Additional context / 备注 (Optional / 选填) Add any other context about the problem here.