def upsample_image(im, sz):
  h = im.shape[0]
  w = im.shape[1]
  s = np.float(max(h, w))
  I_out = np.zeros((sz, sz, 3), dtype = np.float);
  I = cv2.resize(im, None, None, fx = np.float(sz)-s, fy = np.float(sz)/s, interpolation=cv2.INTER_LINEAR); 
  SZ = I.shape;
  I_out[0:I.shape[0], 0:I.shape[1],:] = I;
  return I_out, I, SZ
dataset/ETHPy150Open s-gupta/visual-concepts/test_model.py/upsample_image/operator `/` -> `-`