DarkHelp icon indicating copy to clipboard operation
DarkHelp copied to clipboard

DarkHelp does not support batch inference

Open stephanecharette opened this issue 4 years ago • 5 comments

Investigate what would be needed to support batch inference.

See: https://github.com/AlexeyAB/darknet/issues/7541 And: https://github.com/AlexeyAB/darknet/pull/7915

stephanecharette avatar Aug 09 '21 18:08 stephanecharette

Hi @stephanecharette ,

Are there any updates about batch inference integration to DarkHelp?

Many thanks!

mzacri avatar Mar 24 '22 08:03 mzacri

My understanding is this is not yet fully supported in Darknet. I've not attempted to add support for this in DarkHelp.

stephanecharette avatar Mar 24 '22 10:03 stephanecharette

Thank you for your response @stephanecharette,

I thought maybe this feature was integrated to DarkHelp since batch support's commit of Nuzhny007 was merged to Alexey's darknet (Issue #7915). @Nuzhny007 did provide an example of how to use the API after NMS integration.

Thanks again.

mzacri avatar Mar 24 '22 11:03 mzacri

I thought I remembered seeing some follow-up issues after that saying that darknet crashes when attempting to use batch inference. I will look into it further.

stephanecharette avatar Mar 24 '22 14:03 stephanecharette

Hi @stephanecharette,

I have tried using darknet's Detector class for batch inference (based on @Nuzhny work). It is working fine using GPU. Using batch inference with image tiling sounds exciting (and some script to transform the learning database based on tiling config).

Thanks!

mzacri avatar Apr 02 '22 09:04 mzacri