Functionrect_to_relConvert standard rectangular parametrization of the bounding box [x, y, w, h] to relative parametrization [cx/sw, cy/sh, log(w), log(h)], where [c
lib/train/data/bounding_box_utils.py:4
Functionwindow_partition
Args:
x: (B, H, W, C)
window_size (int): window size
Returns:
windows: (num_windows*B, window_size, window_siz
lib/models/ostrack/utils.py:70