PaddleOCR icon indicating copy to clipboard operation
PaddleOCR copied to clipboard

为什么内存搬运的时间会这么久?

Open zpy78987 opened this issue 2 years ago • 1 comments

如图,我对predict_rec.py中的模型推理部分代码进行打点,发现推理只需要15ms左右,但是加上拷贝就达到了33ms,请问这是否正常?(架构:鲲鹏arm) image image

zpy78987 avatar Oct 13 '22 01:10 zpy78987

他是异步计算的,你拷贝的过程也包含了计算的时间

littletomatodonkey avatar Oct 14 '22 13:10 littletomatodonkey