-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Low loss but low mAP #3026
Comments
maybe you can use map command to see the mAP for each class to check whether there are some problem with class index or others. |
@DarylWM Hi,
May be most of yolo-layers (f.e. 4 last layers) don't correspond to your object sizes, so most of layers generate very low loss. Do you get the same low mAP on training dataset as on validation dataset? |
Thanks @xiaohai12 . I've reduced my problem to only one class. The map command shows a large number of false negatives (also many false positives but for my problem I'm more concerned about FN).
|
Hi @AlexeyAB .
Do you mean the mAP I get when I point valid= to different sets? It's 8.95% when I point to the validation set, and 8.38% when I point to the test set.
I found your explanation here helpful but so far I'm not understanding how to apply that guidance to yolov3_5l. For example I didn't count 5 subsampling layers with stride=2 in the first yolo layer of yolov3. |
I mean, what mAP if you set There are 5 subsampling layers in yolov3_5l.cfg
Also there are
|
Hi @AlexeyAB .
When I set valid=train.txt, the mAP is 71.45%. My custom anchors are: How should I apply to yolov3_5l the guidance about size of objects for each layer being 2^n * 2 where n = number of subsampling layers, or does that only apply to yolov3? |
@DarylWM Hi, Set masks for anchors in the [yolo] layers in
For Something like this:
|
That's very helpful - thanks @AlexeyAB . |
Hi @AlexeyAB .
When training yolov3_5l, I'm seeing low loss but also low mAP.
The machine has CUDA 9, CuDNN 7.5, and OpenCV 2.4.9. I'm using your latest repo.
The chart above was for the default anchors. I've just started a training run with custom anchors. Would I get low loss if anchors were the problem though?
The text was updated successfully, but these errors were encountered: