Traceback (most recent call last):


 "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner

self.run()


 "/usr/lib/python3.9/threading.py", line 892, in run

self._target(*self._args, **self._kwargs)


 "/home/ralts/.local/lib/python3.9/site-packages/mps_youtube/mpris.py", line 227, in bindmpv

self.setproperty(resp['name'], resp['data'])
KeyError: 'data'

Traceback (most recent call last):


 "train.py", line 626, in <module>

#
device=device, )


 "train.py", line 425, in train

evaluator = evaluate(eval_model, val_loader, config, device)


 "/data/anaconda3/lib/python3.7/site-packages/torch/autograd/grad_mode.py", line 49, in decorate_no_grad

return func(*args, **kwargs)


 "train.py", line 471, in evaluate

coco = convert_to_coco_api(data_loader.dataset, bbox_fmt='coco')


 "/data/xxyu/code/pytorch-yolov4-master/tool/tv_reference/coco_utils.py", line 158, in convert_to_coco_api

img, targets = ds[img_idx]


 "/data/xxyu/code/pytorch-yolov4-master/dataset.py", line 271, in __getitem__

return self._get_val_item(index)


 "/data/xxyu/code/pytorch-yolov4-master/dataset.py", line 406, in _get_val_item

target['image_id'] = torch.tensor([get_image_id(img_path)])


 "/data/xxyu/code/pytorch-yolov4-master/dataset.py", line 426, in get_image_id

raise NotImplementedError("Create your own 'get_image_id' function")
NotImplementedError: Create your own 'get_image_id' function
