rakidis 发表于 2020-10-9 16:34
I believe the reason for yolov4 being so much more slower is the "mish" activation layer. since it u ...
Actually mish op is not key factor.
You can output layers for analysis by eval_perf().
There are 3 pooling operators which consume much time.
They are from SPP module in YOLOv4.
rakidis 发表于 2020-11-13 15:54
Did you manage to find a solution to this issue? I asked a way to remove spp in darknet repository, ...
You can remove SPP from yolov4.cfg by comparing yolov3.cfg and yolov3-spp.cfg.
Then re-train it.
The kernel size used in these maxpoo is so large that it's inefficient to execute on RKNN NPU.