facebookresearch / LeViT

LeViT a Vision Transformer in ConvNet's Clothing for Faster Inference

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

problem of inference precision

aso538 opened this issue · comments

Thank you very much for your open source. But when I reproduce the inference precision, when I use the model provided by the official, the inference precision is inconsistent with that given in readme. What is the reason.

i use the LeViT-256 Acc@1 81.584 Acc@5 95.464 loss 0.745

The accuracy of any machine learning model will vary slightly between CPU and GPU, and between different versions of PyTorch, CUDNN, etc, due to numerical rounding errors. Unless the change in performance is large, this is to be expected.