Traceback (most recent call last):


 "/usr/lib/python3.9/site-packages/PIL/Image.py", line 2131, in save
KeyError: '.png'

Traceback (most recent call last):


 "train_RFB.py", line 258, in <module>

train()


 "train_RFB.py", line 209, in train

images, targets = next(batch_iterator)


 "/home/ydm/anaconda2/envs/pytorchyp3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 336, in __next__

return self._process_next_batch(batch)


 "/home/ydm/anaconda2/envs/pytorchyp3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch

raise batch.exc_type(batch.exc_msg)
KeyError: 'Traceback (most recent call last):\n

 "/home/ydm/anaconda2/envs/pytorchyp3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop\n
samples = collate_fn([dataset[i] for i in batch_indices])\n

 "/home/ydm/anaconda2/envs/pytorchyp3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 106, in <listcomp>\n
samples = collate_fn([dataset[i] for i in batch_indices])\n

 "/home/ydm/project-multiscale/RFBNet-master/data/voc0712.py", line 185, in __getitem__\n
target = self.target_transform(target)\n

 "/home/ydm/project-multiscale/RFBNet-master/data/voc0712.py", line 136, in __call__\n
label_idx = self.class_to_ind[name]\nKeyError: \'car\'\n'
