Traceback (most recent call last):


 "train.py", line 61, in prefetch_data

data, ind = sample_data(db, ind, data_aug=data_aug, debug=debug)


 "/home/wujiacheng/2020/ExtremeNet-text/sample/coco_extreme.py", line 248, in sample_data

return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)


 "/home/wujiacheng/2020/ExtremeNet-text/sample/coco_extreme.py", line 85, in kp_detection

db_ind = db.db_inds[k_ind]
IndexError: index 0 is out of bounds for axis 0 with size 0

Traceback (most recent call last):


 "/opt/packtpub-crawler/script/spider.py", line 97, in main

packtpub.runDaily()


 "/opt/packtpub-crawler/script/packtpub.py", line 161, in runDaily

self.__parseDailyBookInfo(soup)


 "/opt/packtpub-crawler/script/packtpub.py", line 93, in __parseDailyBookInfo

self.info['url_claim'] = self.__url_base + div_target.select('a.twelve-days-claim')[0]['href']
IndexError: **list index out of range**
