Why 'targets' values from train.py are different from the ground truth annotation in txt files? #13000
Open
1 task done
Labels
question
Further information is requested
Search before asking
Question
Hello,
I am trying to understand the YOLOV5 codes. Specially, how the detection is done and calculate loss in line 383 of train.py. I have noticed that the xywh values of variable 'targets' in line 383 of train.py is different from the ground truth in .txt file. The variable dataset.labels[i] from line 254 of train.py match with the values of .txt file. However, the values of dataset[i], targets and .txt is completely different. I have gone through the 'create_dataloader' and its not helping. May be I am missing something. Is there any transformation done? Could you please explain a brief about the relationship between the values of .txt, dataset[i], dataset.labels[i] and targets. How they are related?
Thank you in advance.
Additional
No response
The text was updated successfully, but these errors were encountered: