Caught KeyError in DataLoader worker process 0.

1. Problem description

When doing target detection network training, I encountered the following error:
Caught KeyError in DataLoader worker process 0.
KeyError: Sa** (a category of my own data set)

2. Solutions

Finally, it was found that it was caused by the case of the category letters, just change them all to lowercase.

Guess you like

Origin blog.csdn.net/qq_45160840/article/details/128082842
Recommended