Xu Ma commited on
Commit
4b6f755
1 Parent(s): b1d3cdc

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -372,7 +372,7 @@ def main_func(target, experiment, cfg_arg):
372
 
373
  print(f"debug: {cfg.target}")
374
  # gt = np.array(PIL.Image.open(cfg.target))
375
- gt = cfg.target
376
  print(f"Input image shape is: {gt.shape}")
377
  if len(gt.shape) == 2:
378
  print("Converting the gray-scale image to RGB.")
 
372
 
373
  print(f"debug: {cfg.target}")
374
  # gt = np.array(PIL.Image.open(cfg.target))
375
+ gt = np.array(cfg.target)
376
  print(f"Input image shape is: {gt.shape}")
377
  if len(gt.shape) == 2:
378
  print("Converting the gray-scale image to RGB.")