Open mazatov opened 4 years ago
bump
bump
Upon some further investigation, I see that there is lib.network_predict_batch
and lib.free_batch_detections
+ load_network
has the ability to add batch_size so it seems like it should be doable.
It'll be nice to also have detect_images
function that works on batches given that that's possible. Doesn't look like I can change they issue type but this should be a Feature Request.
@LukeAI , any luck? Still haven't been able to figure it out
no
I am able to process images and video one frame at a time in python with my custom network but I can't seem to make batch processing work. I suspect it'll be faster that way. The
load_network
function has a batch_size as a parameter. Where does abatch_size
go when I createdarknet_image
. Is it the first or last dimension? I tried both ways and can't seem to make it work. I get an empty detections list, while I do get a detection if I remove batch_size and createdarknet_image
without it.