radames commited on
Commit
496559a
1 Parent(s): 7cb845a

resize input image

Browse files
Files changed (1) hide show
  1. PIFu/spaces.py +1 -1
PIFu/spaces.py CHANGED
@@ -63,7 +63,7 @@ def process(img_path):
63
  img_raw = Image.open(img_path).convert('RGB')
64
 
65
  img = img_raw.resize(
66
- (800, int(800 * img_raw.size[1] / img_raw.size[0])),
67
  Image.Resampling.LANCZOS)
68
 
69
  try:
 
63
  img_raw = Image.open(img_path).convert('RGB')
64
 
65
  img = img_raw.resize(
66
+ (512, int(512 * img_raw.size[1] / img_raw.size[0])),
67
  Image.Resampling.LANCZOS)
68
 
69
  try: