tusen-ai / simpledet

A Simple and Versatile Framework for Object Detection and Instance Recognition
Apache License 2.0
3.08k stars 488 forks source link

Batch image detection test with two GPUs(using RGB image data format, not roidb data format) #212

Open zerojuzi opened 5 years ago

zerojuzi commented 5 years ago

How to detect batch image using two GPUs, please help me, thank you very much!!!

RogerChern commented 5 years ago

Do you want to test the model with 2 GPUs?

zerojuzi commented 5 years ago

yes, I want to test the model with 2 GPUs, and one GPU can test a batch image, finally, 2 GPUs test result integrate a file or list, can you know how to do it? @RogerChern

Do you want to test the model with 2 GPUs?

zerojuzi commented 5 years ago

Or using a big batch size of image data test the model with 2 GPUs, can you know how to do it? @RogerChern

RogerChern commented 5 years ago

The batched test can not be achieved since during the test we do not pad the image. So each image has its unique shape and the 1 image per GPU test scheme is widely adopted by all the detection frameworks.

RogerChern commented 5 years ago

Could you please give some details about why batched test is important to you.

zerojuzi commented 5 years ago

Could you please give some details about why batched test is important to you.

I want to statistical and analysis a result of classification through detection result of 8000+ images, but testing with one image is too slow at a time, and Low resource utilization.