ix += 1
max_num_boxes = max(max_num_boxes, ix)
//overlaps = scipy.sparse.csr_matrix(overlaps)
if self._split.startswith("train") and ix==0:
continue
boxes = boxes[:ix,:]
landmarks = landmarks[:ix,:,:]
After Change
for fp in self._fp_bbox_map:
pp += 1
if pp%1000==0:
print("loading", pp)
if self._split=="test":
image_path = os.path.join(self._imgs_path, fp)
roi = {"image": image_path}
roidb.append(roi)