Spaces:
Runtime error
Runtime error
Update lib/dataset/mesh_util.py
Browse files- 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.
|
| 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 |
|