yolov5 How to get the class with highest confidence from a tensor?

后端 未结 0 1737
悲&欢浪女
悲&欢浪女 2020-12-23 20:16

I want to obtain the class with the highest confidence. Heres the code that performs classification task:

names = [\'class A\', \'class B\', \'class C\']

def         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题