Skip to content

Commit

Permalink
Update minibatch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
endernewton committed Aug 14, 2017
1 parent b973042 commit f221eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/roi_data_layer/minibatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def get_minibatch(roidb, num_classes):
gt_boxes[:, 4] = roidb[0]['gt_classes'][gt_inds]
blobs['gt_boxes'] = gt_boxes
blobs['im_info'] = np.array(
[[im_blob.shape[1], im_blob.shape[2], im_scales[0]]],
[im_blob.shape[1], im_blob.shape[2], im_scales[0]],
dtype=np.float32)

return blobs
Expand Down

0 comments on commit f221eb4

Please sign in to comment.