code: def mask_to_tensor(x):
      x = np.array(x).astype(np.float32)
      x = np.expand_dims(x, axis=0)
      x = torch.from_numpy(x)
      return x
  
imports: import os, cv2, glob
  import numpy
  from PIL import Image
  import torch
  import torch.utils.data
  from torchvision import datasets, models, transforms
  from utils import read_masks, get_test_meta, get_nfold_split
  import augmentation
  from settings import *
label_desc: Use image node_id 1 for calling a global function with example usage: mask_to_tensor(x) and returns: x