Skip to content
Snippets Groups Projects
Commit 9ad4dfcb authored by Ross Girshick's avatar Ross Girshick
Browse files

forgot to flip the images...again

parent 9e30dd87
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,8 @@ class SVMTrainer(object):
# num_images = 100
for i in xrange(num_images):
im = cv2.imread(self.imdb.image_path_at(i))
if roidb[i]['flipped']:
im = im[:, ::-1, :]
gt_inds = np.where(roidb[i]['gt_classes'] > 0)[0]
gt_boxes = roidb[i]['boxes'][gt_inds]
_t.tic()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment