Update main.py
Browse files
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"
|