Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dwpose/yolox_config not included in the python package DW Pose failing #93

Open
stevenjlm opened this issue Feb 23, 2024 · 1 comment
Open

Comments

@stevenjlm
Copy link

After running pip install controlnet-aux==0.0.7 and following the instructions from DW Pose:

pip install -U openmim
mim install mmengine
mim install "mmcv>=2.0.1"
mim install "mmdet>=3.1.0"
mim install "mmpose>=1.1.0"

I am getting an error FileNotFoundError: [Errno 2] No such file or directory: '[...]/lib/python3.11/site-packages/controlnet_aux/dwpose/yolox_config/yolox_l_8xb8-300e_coco.py'
Indeed in the lib/python3.11/site-packages/controlnet_aux/dwpose directory I do not see the yolox_config folder at all. And in the pypi package source it seems to be missing as well.
Is there an installation step missing, or is the package missing files?

@stevenjlm
Copy link
Author

If anyone else has this issue, the workaround is to download the script yolox_l_8xb8-300e_coco.py and pass its path as an argument:

det_config = "./dwpose_utils/yolox_l_8xb8-300e_coco.py"
pose_config = "./dwpose_utils/dwpose-l_384x288.py"
self.dwpose_detector = DWposeDetector(
    det_config=det_config, pose_config=pose_config, device="cuda"
)

After that, it's all working for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant