Timilehin commited on
Commit
acb8ea1
·
verified ·
1 Parent(s): 3c229f0

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -105,8 +105,8 @@ def process_image_pifuhd(image):
105
  np.savetxt(rect_path, rects, fmt='%d')
106
 
107
  # Run PIFuHD
108
- os.chdir('pifuhd')
109
- os.system(f"python -m apps.simple_test -r 256 --use_rect -i {image_dir}")
110
 
111
  # Get the result object file path
112
  file_name = "uploaded_image"
 
105
  np.savetxt(rect_path, rects, fmt='%d')
106
 
107
  # Run PIFuHD
108
+ # os.chdir('pifuhd')
109
+ os.system(f"python -m pifuhd.apps.simple_test -r 256 --use_rect -i {image_dir}")
110
 
111
  # Get the result object file path
112
  file_name = "uploaded_image"