From 1c1cdca2a3ca15f3a927e276a9ebfebb44715343 Mon Sep 17 00:00:00 2001 From: "xiaoke@ivgsz_171" Date: Tue, 7 Feb 2023 15:36:19 +0800 Subject: [PATCH] fix openpose path bug --- easymocap/estimator/openpose_wrapper.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/easymocap/estimator/openpose_wrapper.py b/easymocap/estimator/openpose_wrapper.py index 3479817..bf57f76 100644 --- a/easymocap/estimator/openpose_wrapper.py +++ b/easymocap/estimator/openpose_wrapper.py @@ -18,6 +18,9 @@ from glob import glob from multiprocessing import Process def run_openpose(image_root, annot_root, config): + image_root = os.path.realpath(image_root) + annot_root = os.path.realpath(annot_root) + os.makedirs(annot_root, exist_ok=True) pwd = os.getcwd() if os.name != 'nt':