Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

detection threshold not used !! #93

Closed
khorchefB opened this issue Mar 20, 2017 · 4 comments
Closed

detection threshold not used !! #93

khorchefB opened this issue Mar 20, 2017 · 4 comments

Comments

@khorchefB
Copy link

hello

In the flow.py there are many flags, and one of this flags is "threshold", it is fixed to 0.1, and my question is: why in the net/yolov2/test.py the threshold is fixed to 0.6 when we test our network ?

Thanks,

@yimintsai
Copy link

Yes, you should use FLAGS.threshold instead of meta['thresh'] which is 0.6. This threshold 0.6 is used for training.

@khorchefB
Copy link
Author

khorchefB commented Mar 20, 2017

Where in the code, FLAGS.threshold is used ???

@abagshaw
Copy link
Collaborator

Yeah I think this is a bug, just replace meta['thresh'] with self.FLAGS.threshold the two places it appears in /net/yolov2/test.py and you should be good to go. It appears that meta['thresh'] reads from the default threshold value set in the .cfg file you choose but it should be reading from the user defined FLAGS one.

@thtrieu thtrieu closed this as completed Mar 29, 2017
@abagshaw
Copy link
Collaborator

@thtrieu Just wondering, was that a bug...or is this intentional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants