Spaces:
Runtime error
Runtime error
isLinXu
commited on
Commit
•
f5e1ae7
1
Parent(s):
e3ac5c6
update
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def predict_pose(img, model_name, out_dir):
|
|
51 |
inferencer = MMPoseInferencer(model_name, device=device)
|
52 |
result_generator = inferencer(img_path, show=False, out_dir=out_dir)
|
53 |
result = next(result_generator)
|
54 |
-
save_dir = '
|
55 |
out_img_path = save_dir + img_path
|
56 |
print("out_img_path: ", out_img_path)
|
57 |
out_img = PIL.Image.open(out_img_path)
|
|
|
51 |
inferencer = MMPoseInferencer(model_name, device=device)
|
52 |
result_generator = inferencer(img_path, show=False, out_dir=out_dir)
|
53 |
result = next(result_generator)
|
54 |
+
save_dir = 'output/visualizations/'
|
55 |
out_img_path = save_dir + img_path
|
56 |
print("out_img_path: ", out_img_path)
|
57 |
out_img = PIL.Image.open(out_img_path)
|