LZQthePlane / Online-Realtime-Action-Recognition-based-on-OpenPose

A skeleton-based real-time online action recognition project, classifying and recognizing base on framewise joints, which can be used for safety surveilence.
Apache License 2.0
671 stars 232 forks source link

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all() #89

Open MffGnar opened 1 year ago

MffGnar commented 1 year ago

模型训练完加载的时候会报这个错,但是去网上查了,都是说numpy识别模糊之类的,判断问题含糊其辞,然而在代码中没找到相关的地方,网上都在说在numpy.array后面添加all()或者any(),然并卵