nwojke / deep_sort

Simple Online Realtime Tracking with a Deep Association Metric
GNU General Public License v3.0
5.3k stars 1.48k forks source link

the range of confidence in det.py file #317

Open leo038 opened 1 year ago

leo038 commented 1 year ago

In the det.txt file, the 7th column is the confidence, which ranges from negative to positive. But in your ".npy" file, the confidence range for 0 to 1. I don't see where you process this. Could you please tell me how you deal with this? Thank you!

1,-1,1359.1,413.27,120.26,362.77,2.3092,-1,-1,-1
1,-1,571.03,402.13,104.56,315.68,1.5028,-1,-1,-1
1,-1,650.8,455.86,63.98,193.94,0.33276,-1,-1,-1
1,-1,721.23,446.86,41.871,127.61,0.27401,-1,-1,-1
1,-1,454.06,434.36,97.492,294.47,0.20818,-1,-1,-1
1,-1,1254.6,446.72,33.822,103.47,0.14776,-1,-1,-1
1,-1,1301.1,237.38,195.98,589.95,0.051818,-1,-1,-1
1,-1,1480.3,413.27,120.26,362.77,-0.020474,-1,-1,-1
1,-1,552.72,473.9,29.314,89.943,-0.087553,-1,-1,-1
1,-1,1097,433,39,119,-0.17964,-1,-1,-1
1,-1,543.19,442.1,44.948,136.84,-0.3683,-1,-1,-1
1,-1,1017,425,39,119,-0.41789,-1,-1,-1
2,-1,1359.1,413.27,120.26,362.77,2.4731,-1,-1,-1
2,-1,584.04,446.86,84.742,256.23,1.2369,-1,-1,-1
2,-1,729,457,39,119,0.40858,-1,-1,-1
2,-1,460.48,442.1,90.896,274.69,0.26749,-1,-1,-1
2,-1,643.66,461.78,59.629,180.89,0.18023,-1,-1,-1
2,-1,1494.4,408.29,112.14,338.41,0.16075,-1,-1,-1