Week 2 assignment bounding boxes

Hello guys,

I have been trying to implement the same approach for different dataset and finally I found the problem why my model didnt learn. I passed each image with only one bounding box (in the same way as in out assignment) however each image can have up to 10 bounding boxes in it. So I need to pass one image with 10 boxes not 10 images with 10 boxes. The code in assignment however doesnt allow it. It would be nice if someone could send some code sample on how to achieve this. It could be any sample with different dataset but similar style implementation.

Best regards,