Closed EdwardVincentMa closed 3 years ago
yolox-nano is designed for arm devices (DW conv). If you wanna test yolox on GPU or NPU, yolox-tiny may be a better choice. Meanwhile, plz follow the speed testing guide and use eval.py to get a precise AVG latency.
yolox-nano is designed for arm devices (DW conv). If you wanna test yolox on GPU or NPU, yolox-tiny may be a better choice. Meanwhile, plz follow the speed testing guide and use eval.py to get a precise AVG latency.
大佬您好,我找到原因了,应该是用了cpu而不是gpu。
python tools/demo.py image --conf 0.25 --nms 0.45 --tsize 736 --save_result --device [gpu]
用的 yolox-nano模型,输入图像736,速度0.36秒左右,这速度不太可能啊,很慢很慢,这demo命令没错吧,用的是gpu。之前别的模型,cpu跑infer才50ms,这个是不是哪里出错了,太离谱了。