pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.8k stars 21.33k forks source link

Yolo 9000, Keep Getting Wrong Label Names! #550

Open tangziqiao opened 6 years ago

tangziqiao commented 6 years ago

Hello, I'm following philipperemy's yolo-9000 but keep getting incorrect label names. I'm wondering if anyone knows why it is not showing the names in the 9k.names file???

This was the result that I got when I set the threshold to 0.

screen shot 2018-03-21 at 22 56 43

Any idea why this happened?? Thanks for the help!!

ahsan856jalal commented 6 years ago

what is your command ?

tangziqiao commented 6 years ago

./darknet detector test cfg/combine9k.data cfg/yolo9000.cfg ../yolo9000-weights/yolo9000.weights data/horses.jpg

I followed his steps of the MacOS exactly but couldn't get the same result. For the demo he did on the horse picture, mine was just "horse"

akshaybhatia10 commented 6 years ago

This is because your threshold is set to 0. Remove the thresh flag(sets the default to 0.25 and displays objects detected with a confidence of higher than that).