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 experiencing issues running pose_align.py from the MusePose repository on my MacBook M3 Max. Despite following the setup instructions in the README and installing all the required libraries and dependencies, I encounter errors when executing the script.
Multiple warnings about missing modules despite it being installed correctly:
warnings.warn('Fail to import `MultiScaleDeformableAttention` from `mmcv.ops.multi_scale_deform_attn` ')
warnings.warn('The module `mmpose` is not installed. The package will have limited functionality.')
warnings.warn('The module `mmdet` is not installed. The package will have limited functionality.')
The script terminates with a NameError indicating that init_detector is not defined:
Traceback (most recent call last):
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose_align.py", line 556, in<module>main()
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose_align.py", line 551, in main
run_align_video_with_filterPose.translate_smooth(args)
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose_align.py", line 270, in run_align_video_with_filterPose.translate_smooth
detector = DWPoseDetector(
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose/script/dwpose.py", line 74, in __init__
self.pose_estimation = Wholebody(det_config, det_ckpt, pose_config, pose_ckpt, device)
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose/script/wholebody.py", line 51, in __init__
self.detector = init_detector(det_config, det_ckpt, device=device)
NameError: name 'init_detector' is not defined
Screnshot###
I would appreciate any guidance on resolving these issues. Thank you!
The text was updated successfully, but these errors were encountered:
jnakrani
changed the title
setup issue on mac
Error with pose_align.py on MacBook M3 Max Using Anaconda torch-metal Profile
Jun 19, 2024
I am experiencing issues running pose_align.py from the MusePose repository on my MacBook M3 Max. Despite following the setup instructions in the README and installing all the required libraries and dependencies, I encounter errors when executing the script.
Multiple warnings about missing modules despite it being installed correctly:
warnings.warn('Fail to import `MultiScaleDeformableAttention` from `mmcv.ops.multi_scale_deform_attn` ')
warnings.warn('The module `mmpose` is not installed. The package will have limited functionality.')
warnings.warn('The module `mmdet` is not installed. The package will have limited functionality.')
The script terminates with a NameError indicating that init_detector is not defined:
Traceback (most recent call last):
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose_align.py", line 556, in<module>main()
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose_align.py", line 551, in main
run_align_video_with_filterPose.translate_smooth(args)
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose_align.py", line 270, in run_align_video_with_filterPose.translate_smooth
detector = DWPoseDetector(
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose/script/dwpose.py", line 74, in __init__
self.pose_estimation = Wholebody(det_config, det_ckpt, pose_config, pose_ckpt, device)
File "/Users/jaydip/Documents/BCS/ML/MusePose/pose/script/wholebody.py", line 51, in __init__
self.detector = init_detector(det_config, det_ckpt, device=device)
NameError: name 'init_detector' is not defined
Screnshot###
I would appreciate any guidance on resolving these issues. Thank you!
I added from mmdet.apis import init_detector to the dwpose.py file, and the issue was resolved!
Hello @TZYSJTU
I am experiencing issues running pose_align.py from the MusePose repository on my MacBook M3 Max. Despite following the setup instructions in the README and installing all the required libraries and dependencies, I encounter errors when executing the script.
Environment:
I executed the following command:
###Observation###
NameError
indicating thatinit_detector
is not defined:Screnshot###
I would appreciate any guidance on resolving these issues. Thank you!
The text was updated successfully, but these errors were encountered: