LdDl / go-darknet

Go bindings for Darknet (YOLO v4 / v7-tiny / v3)
Apache License 2.0
82 stars 19 forks source link

[BUG] 为什么检测一次很慢,大概再6-10秒左右,yolov5大概再20ms左右 #18

Closed aadog closed 3 years ago

aadog commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior

Expected behavior A clear and concise description of what you expected to happen.

Expected behavior A clear and concise description of what you expected to happen.

Describe the solution you'd like and provide pseudocode examples if you can A clear and concise description of what you want to happen.

Additional context Add any other context about the problem here.

LdDl commented 3 years ago

@a97077088 Hello Can you edit your message and describe what probem is in English?

LdDl commented 3 years ago

So after google translate:

Why is the detection very slow once, about 6-10 seconds, and yolov5 about 20ms

Are you using CPU build?

aadog commented 3 years ago

yes

LdDl commented 3 years ago

@a97077088 So you can't expect that CPU version can perform detection in 20ms (and even beat GPU-based verion). I've never seen this done via any not-tiny YOLO version.

Closing, I guess..