keras-yolo2 icon indicating copy to clipboard operation
keras-yolo2 copied to clipboard

What's the idea behind adding max_box_per_image as an input to YOLO ?

Open gauthsvenkat opened this issue 6 years ago • 4 comments

I pretty much understand the rest of the code to an extent but can't wrap my head around this. Some detailed explanation would be nice. Thanks in advance.

gauthsvenkat avatar Mar 21 '18 13:03 gauthsvenkat

@andohuman It's the max number of bounding boxes per images, which depends on the dataset.

experiencor avatar Mar 22 '18 04:03 experiencor

@experiencor does adding that as an input increase the performance ? I don't get why that is an input to the model.

gauthsvenkat avatar Mar 23 '18 15:03 gauthsvenkat

@andohuman It's used as the dimension prior of true_boxes, which is a convenient way to simplify the loss function.

experiencor avatar Mar 25 '18 09:03 experiencor

@experiencor do you mean that max_box_per_image is the N of objects possible that can be detected in an image. so if max_box_per_image was 1 it can only detect one object in the image, although maybe two objects or more?

sadakmed avatar Apr 11 '19 17:04 sadakmed