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

forgot to flip the images

parent 074f83e9
No related branches found
No related tags found
No related merge requests found
......@@ -102,6 +102,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, :]
_t.tic()
scores, boxes = im_detect(self.net, im, roidb[i]['boxes'])
_t.toc()
......
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