File "/home1/Detectron/lib/datasets/roidb.py", line 71, in combined_roidb_for_training_compute_and_log_stats(roidb)
File "/home1/Detectron/lib/datasets/roidb.py", line 181, in _compute_and_log_stats classes = roidb[0]['dataset'].classes
IndexError: list index out of range
1
i, I have got same issue and figured it out. The reason was my own data structure's segmentation was wrong. So if you get this issue make sure your own data has same structure as coco.
it more likely the roidb is an empty list, when you read the roidb.py you can see if you miss some information like segmentation , area and so on it would not fill data to the list of roidb
根据上面的回答,查看了一下自己的相关数据项,发现少了一些,添加上去之后,运行的时候还出现同样的问题.
2