Inference time of each layer #8444
|
Hello I'm trying to profile inference time of each layer of yolov5. the result is as follow: We can clearly see that the first convolutional layer takes more than 90% of the inference time, but when I search the reason from source code, I haven't find any difference between the first conv layer and the other conv layers. From my experiment,other models like mask-rcnn,mobileNet,vgg,the inference time of their conv layer is not much different. QuestionSo I want to know the reason of this phenomenon. Appreciate for any help! |
Answered by
glenn-jocher
Jul 2, 2022
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


@769430755 your profiler is incorrect.
We already have built-in line profiling of YOLOv5 models, they display even resource utilization throughout the model generally speaking.