ssd-tf2 icon indicating copy to clipboard operation
ssd-tf2 copied to clipboard

it seems you are training and validating on the same dataset?

Open sunwayforever opened this issue 3 years ago • 2 comments

although the ids is split into train and val, you are always sampling from the whole ids

sunwayforever avatar Apr 06 '21 04:04 sunwayforever

Hi @sunwayforever if you see in voc_data.py in the generate function , the indices of train and val data are separated and they are being used for "sampling".

AkshayPS12 avatar Apr 16 '21 11:04 AkshayPS12

Yes, they are separated. But get_annotation and get_image functions get their filenames from self.ids. I think, transfering the filename (calculated in generate anyway) directly to get_annotation and get_image should solve this issue.

showyamessage avatar Apr 15 '22 05:04 showyamessage