Open JeremyKeusters opened 1 year ago
1) You're using a repo that is no longer supported. Instead, see https://github.com/hank-ai/darknet 2) Have you tried DarkHelp? It was written to be easier to batch a large number of images and videos. https://github.com/stephanecharette/DarkHelp
Hi Stéphane, thanks for your swift reply! I did not know about hank-ai. I'll take a look into DarkHelp.
I'm having a question on the
detector test
command. When I run it, it works perfectly fine, but it takes quite some time per image. The prediction itself only takes on average 4.6 ms, but it takes a bit over 300 ms before Darknet processes the next image. Is it possible to speed up this process?Output when the command is started:
Model size is 640x640 and I'm using a YOLOv4-tiny.
Small update: while opening this issue I realised that my input images are 0.650MB each, and 2,448x2,048. If I resize to 1,224x1,024, they go down to 0.17MB on average, but it still takes more or less 75ms per image to process. Is this expected behaviour due to the resizing that needs to happen before inference? Or should it go faster? Is there a way to do this process more in batch?
Thanks!