Primary competition visual

Arm UNICEF Disaster Vulnerability Challenge

Helping Malawi
$10 000 USD
Completed (over 1 year ago)
1193 joined
347 active
Starti
Mar 15, 24
Closei
Jun 23, 24
Reveali
Jun 23, 24
Data normalization
Help · 4 May 2024, 20:44 · 2

In the data there are images which are 500x500 and images 1000x1000. I normalized the bbox column by dividing it for 500 for 500x500 images and dividing it for 1000 for 1000x1000 images, is it wrong? My model is as wrong as it can be, and when I was looking for the train batches the bbox were not matching with the images like this:

Imgur: The magic of the Internet

Am I doing anything wrong? I never used yolo in my life.

Thank you, Pedro.

Discussion 2 answers

Hi Pedro,

I have also not used YOLO before, but I think you may need to get all the images / bbs resized to a uniform input size like 608x608 or another number divisble by 32 (apparently that is common for Conv Nets).

I can send you a function to help you visualize. shoot me a dm.

I also encountered an issue where I removed records with null values (Images that do not have any bounding boxes) and my indexes became out of line so bounding boxes were not showing up correctly when I plotted. This was my fix.

df_train.dropna(inplace=True)

df_train.reset_index(drop=True, inplace=True)

14 May 2024, 11:08
Upvotes 0

Thanks! I found the problem. I was giving the wrong entry using the same bbox as given in the train.csv, I changed it and worked.