import torch


def preprocess(im, pro):
    """
        This function converts the numpy arrays or lists to tensors and returns it.
        Can be augmented with different operations in the future if needed (like augmentation).
        im: BxCxHxW images 
        pro: list of list of integers [delta_elev, delta_azim, elev (optional), azim (optional)]
    """
    return torch.Tensor(im), torch.Tensor(pro)