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

about the precision #295

Closed
Hello526 opened this issue May 22, 2019 · 9 comments
Closed

about the precision #295

Hello526 opened this issue May 22, 2019 · 9 comments

Comments

@Hello526
Copy link

Hello, I used my own dataset to train and found that the precison is always low, about 60%, and recall is about 96%. I don't know which parameter is related to this?

@glenn-jocher
Copy link
Member

glenn-jocher commented May 22, 2019

If you increase the iou threshold hyperparameter in train.py this will increase precision and lower recall.

@Hello526
Copy link
Author

THX!

@Hello526
Copy link
Author

I added cls in train.py and found that precsion increased by 10%.

@Hello526
Copy link
Author

1
3

@Hello526
Copy link
Author

75.6% to 85.2% for precision

@glenn-jocher
Copy link
Member

@Hello526 ah, this is a huge jump in precision. What change did you make exactly?

@glenn-jocher glenn-jocher changed the title about the precsion about the precision May 26, 2019
@Xiwang-pge
Copy link

Which Threshold parameter did you change in train.py? iou_t?

@Hello526
Copy link
Author

Hello526 commented Jul 1, 2019

@glenn-jocher I have been using a fixed parameter set before, and later set evolve=True, precision has improved a lot.

@glenn-jocher
Copy link
Member

glenn-jocher commented Jul 1, 2019

@Hello526 well that's good news. Yes you can use --evolve for hyper parameter evolution. For coco we've been doing something like this to set the hyper parameters, and then letting it run for about 100 trials:

!python3 train.py --data data/coco.data --img-size 320 --single-scale --epochs 1 --batch-size 32 --accumulate 2 --giou --evolve

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

3 participants