def __init__(self, roidb, num_classes):
        """Set the roidb to be used by this layer during training."""
        self._roidb = roidb
        self._num_classes = num_classes
        self._shuffle_roidb_inds()
Set the roidb to be used by this layer during training.
lib/roi_data_layer/layer.py