YOLO v2 doesn't have a constraint on the fractional bounding boxes. Your input can have fractional values such as the bounding box position, height, and width.
Other requirments include:
- The values of position, height and widht should not be zero
- Height and width of the bounding box should not exceed total height of the image and width respectively.