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.
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)
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.