Yuliang commited on
Commit
e9e026d
1 Parent(s): eff9063

Update lib/dataset/mesh_util.py

Browse files
Files changed (1) hide show
  1. lib/dataset/mesh_util.py +1 -1
lib/dataset/mesh_util.py CHANGED
@@ -695,7 +695,7 @@ def get_optim_grid_image(per_loop_lst, loss=None, nrow=4, type="smpl"):
695
  else:
696
  print(f"{type} should be 'smpl' or 'cloth'")
697
 
698
- grid_img = grid_img.resize((grid_img.size[0], grid_img.size[1]), Image.ANTIALIAS)
699
 
700
  return grid_img
701
 
 
695
  else:
696
  print(f"{type} should be 'smpl' or 'cloth'")
697
 
698
+ grid_img = grid_img.resize((grid_img.size[0], grid_img.size[1]), Image.Resampling.LANCZOS)
699
 
700
  return grid_img
701