AttributeError: module 'mediapipe.python.solutions.holistic' has no attribute 'UPPER_BOD
Posted 星涅爱别离
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AttributeError: module 'mediapipe.python.solutions.holistic' has no attribute 'UPPER_BOD相关的知识,希望对你有一定的参考价值。
# print(help(mp.python.solutions.holistic))
使用此命令查看包含的函数
错误部分
# body_connections = mp.solutions.holistic.UPPER_BODY_POSE_CONNECTIONS \\
# if self.up_body_only else mp.solutions.holistic.POSE_CONNECTIONS
修改为:
body_connections = mp.solutions.holistic.POSE_CONNECTIONS \\
if self.up_body_only else mp.solutions.holistic.POSE_CONNECTIONS
风雨兼程,前程可待!
以上是关于AttributeError: module 'mediapipe.python.solutions.holistic' has no attribute 'UPPER_BOD的主要内容,如果未能解决你的问题,请参考以下文章
类 InstagramSpider(scrapy.Spider): AttributeError: 'module' 对象没有属性 'Spider'
api = twitter.Api() AttributeError: 'module' 对象没有属性 'Api
AttributeError:'module'对象在python中没有属性'windll'
如何修复python2.7中的“AttributeError:'module'对象没有属性'storage'”错误
成功解决AttributeError: module ‘numpy‘ has no attribute ‘polyld‘
hydra安装——AttributeError: module ‘hydra‘ has no attribute ‘main‘