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

Error extracting pose when deploying on Docker #49

Open
smartinezbragado opened this issue Jun 10, 2024 · 0 comments
Open

Error extracting pose when deploying on Docker #49

smartinezbragado opened this issue Jun 10, 2024 · 0 comments

Comments

@smartinezbragado
Copy link

I am trying to deploy the model on a GPU machine using Docker containers. The inference works well but the extraction of the pose fails bc of a limitation on the resource usage.

Error:

ValueError: not allowed to raise maximum limit

Description

When running the pose_align.py script, a ValueError is raised indicating that the maximum limit for file descriptors cannot be increased. This error occurs during the initialization of the DWposeDetector in the run_align_video_with_filterPose_translate_smooth function.

Error Log

2024-06-10T18:02:00.973592162Z Traceback (most recent call last):
2024-06-10T18:02:00.973623702Z File "/muse_pose/pose_align.py", line 556, in
2024-06-10T18:02:00.973628712Z main()
2024-06-10T18:02:00.973633572Z File "/muse_pose/pose_align.py", line 551, in main
2024-06-10T18:02:00.974056225Z run_align_video_with_filterPose_translate_smooth(args)
2024-06-10T18:02:00.974070052Z File "/muse_pose/pose_align.py", line 270, in run_align_video_with_filterPose_translate_smooth
2024-06-10T18:02:00.974073629Z detector = DWposeDetector(
2024-06-10T18:02:00.974077346Z File "/muse_pose/pose/script/dwpose.py", line 72, in init
2024-06-10T18:02:00.974079570Z from pose.script.wholebody import Wholebody
2024-06-10T18:02:00.974082726Z File "/muse_pose/pose/script/wholebody.py", line 14, in
2024-06-10T18:02:00.974085692Z from mmpose.apis import inference_topdown
2024-06-10T18:02:00.974087976Z File "/usr/local/lib/python3.10/site-packages/mmpose/apis/init.py", line 2, in
2024-06-10T18:02:00.974102573Z from .inference import (collect_multi_frames, inference_bottomup,
2024-06-10T18:02:00.974105359Z File "/usr/local/lib/python3.10/site-packages/mmpose/apis/inference.py", line 16, in
2024-06-10T18:02:00.974107544Z from mmpose.datasets.datasets.utils import parse_pose_metainfo
2024-06-10T18:02:00.974109838Z File "/usr/local/lib/python3.10/site-packages/mmpose/datasets/init.py", line 2, in
2024-06-10T18:02:00.974112643Z from .builder import build_dataset
2024-06-10T18:02:00.974114777Z File "/usr/local/lib/python3.10/site-packages/mmpose/datasets/builder.py", line 20, in
2024-06-10T18:02:00.974116961Z resource.setrlimit(resource.RLIMIT_NOFILE, (soft_limit, hard_limit))
2024-06-10T18:02:00.974119205Z ValueError: not allowed to raise maximum limit
.
python:3.10-slim running on Linux

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