You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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, aValueError
is raised indicating that the maximum limit for file descriptors cannot be increased. This error occurs during the initialization of theDWposeDetector
in therun_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
The text was updated successfully, but these errors were encountered: