code: def load_rgb(path):
      img = imageio.imread(path)
      img = skimage.img_as_float32(img)
  
      # pixel values between [-1,1]
      img -= 0.5
      img *= 2.0
      img = img.transpose(2, 0, 1)
      return img
  
file_path: insightface/reconstruction/PBIDR/code/utils/rend_util.py
imports: import numpy
  import imageio
  import skimage
  import cv2
  import torch
  from torch.nn import functional
label_desc: Use image node_id 1 for calling a global function with example usage: load_rgb(path) and returns: img