I’m currently using matplotlib 3.9.0.
I was able to run it before, so I suspect there might be an issue with my environment. I’m not sure how to resolve it.
Here are the details of the error:
File "C:UsersDesktopPyTorch_OpenPose_oripytorch_advanced-master4_pose_estimationinference.py", line 11, in <module>
from utils.openpose_net import OpenPoseNet
File "C:UsersDesktopPyTorch_OpenPose_oripytorch_advanced-master4_pose_estimationutils__init__.py", line 4, in <module>
from .decode_pose import *
File "C:UsersDesktopPyTorch_OpenPose_oripytorch_advanced-master4_pose_estimationutilsdecode_pose.py", line 18, in <module>
cmap = matplotlib.cm.get_cmap('hsv')
AttributeError: module 'matplotlib.cm' has no attribute 'get_cmap'
Could anyone help me figure out how to solve this issue?
I was trying to load weights and perform inference with OpenPose.
New contributor
辻元美桜 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.