THU-MIG / RepViT

RepViT: Revisiting Mobile CNN From ViT Perspective [CVPR 2024] and RepViT-SAM: Towards Real-Time Segmenting Anything
https://arxiv.org/abs/2307.09283
Apache License 2.0
681 stars 55 forks source link

Costing time on i7 cpu #58

Open noyami2033 opened 3 months ago

noyami2033 commented 3 months ago

Hi, thanks for your great contributions! I tested the inference time of image encoder on i7 cpu, and the costing time is about 6 seconds. What I did is testing the run time of predictor.set_image(nd_image) line. I wonder if I tested it in a wrong way such that the costing time is far away from the reporte 44.8ms. Anyone any suggestions?