automl icon indicating copy to clipboard operation
automl copied to clipboard

Is efficientdet suitable for running in real time?

Open WonTaeYeon opened this issue 6 years ago • 7 comments

Thx for your code.

Your 'Efficientdet' effectively reduced computation.

Therefore, I think it will be effective even in real-time video. So I only wanted to get good performance from the Only CPU computer, but it wasn't.(About 2-3FPS at D0;; my cpu : 3000G)

Can i solve these problems by grafting existing code with Efficientdet or tuning Efficientdet?

WonTaeYeon avatar Apr 01 '20 00:04 WonTaeYeon

Have you solved those problems?

uysalmustafa avatar Apr 25 '20 14:04 uysalmustafa

Please checkout the latest code. We have made the postprocessing much faster than before, and you should be able to get higher throughput now.

mingxingtan avatar Apr 26 '20 08:04 mingxingtan

Please checkout the latest code. We have made the postprocessing much faster than before, and you should be able to get higher throughput now.

Thanks. It is a great work.

uysalmustafa avatar Apr 26 '20 09:04 uysalmustafa

@mingxingtan Stay slow..... CPU : AMD 3000G RAM : 16G(8G X 2ea) OS : Windows 10 (64bit) In Realtime-video (1280x720 30Fps); Pretrained EfficientDet Checkpoints Efficientdet-D0 saved_model : 2.64 FPS onnx : 2.90 FPS Custom Model (Trian Only people Class in VOC + COCO with AA) saved_model : 2.65 FPS onnx : 3.84 FPS

Is this a parameter value problem? Or is it a specific CPU issue like AMD?

WonTaeYeon avatar Apr 27 '20 02:04 WonTaeYeon

@WonTaeYeon Is it that slow? Could you share your command line?

mingxingtan avatar Apr 27 '20 04:04 mingxingtan

@mingxingtan saved_model command : --num_class 1 --input_image_size None --line_thickness 1 --max_boxes_to_draw 50 --min_score_thresh 0.2 in hparmas_config : h.use_bfloat16 = False h.use_tpu = False The others values are default When it is 'Saved_model_Video', the command line is the same. Thx you.

WonTaeYeon avatar Apr 27 '20 04:04 WonTaeYeon

I ran the latest code on my Mac CPU, and it seems to work reasonably good.

mingxingtan avatar Jun 23 '20 16:06 mingxingtan