def set_global_seeds(i):
    torch.manual_seed(i)
    np.random.seed(i)
    random.seed(i)
    if torch.cuda.is_available():
        torch.cuda.manual_seed_all(i)
def set_global_seeds(i):
    torch.manual_seed(i)
    np.random.seed(i)
    random.seed(i)
    if torch.cuda.is_available():
        torch.cuda.manual_seed_all(i)