怎么取张量tensor(261.)中的值
作者:互联网
tensor(261.)
print('xyxy:',xyxy,names[c],conf)
# print('xyxy:',xyxy,names[c], f'{conf:.2f}')
print('范围:',f'{xyxy[0]:.2f}' + ',' + f'{xyxy[1]:.2f}' + ',' + f'{xyxy[2]:.2f}' + ',' + f'{xyxy[3]:.2f}' ,names[c], f'{conf:.2f}')
标签:tensor,2f,张量,261,names,conf,print,xyxy 来源: https://blog.csdn.net/weixin_45052870/article/details/122647690