Successful training with "train_ssd.py" using small custom data set, but error on full data set

That was a hard one to diagnose…

It turns out if you check the “difficult box” in the labelImg software it writes a null when loading for training and that was causing the crash.

DONT CHECK THE DIFFICULT BOX in labelImg

Because I only checked the box like 20 times on the ~1100 image set it was hard to isolate the problem files.
The file that caused the crash would sometimes be hidden 20 files up the list.
Welcome to the Parallel processing world?

Thanks so much for the help with printing the image name to the terminal.
That was instrumental in troubleshooting the problem.

Slightly below that line in voc_dataset.py was a print statement that gave a bit more info so I just uncommented it:
print(‘getitem image_id=’ + str(image_id) + ’ \nboxes=’ + str(boxes) + ’ \nlabels=’ + str(labels))

The incredibly fast support from this forum has allowed me to keep my learning momentum.
Thanks so much!