-
Notifications
You must be signed in to change notification settings - Fork 106
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
Empty Detections #6
Comments
right now, test.py just generates images with detection results. (with --write options). |
Thanks for responding. Oh it seems that the network is classifying each of the test images as simply background (bg). Am I supposed to give some training images of just background? If so, in order to give the network to train on images of just background would my simple data text file look like this:
Where the last line (/data/imgs/img_003.jpg,,,,,) would be an example of background. |
Hi, I have same problem, the training results seemed good but all test images are empty detection. If I tested on train dataset, the result was same. Have you managed to fix this? |
@mtlouie-unm @franyoadam
|
I have the same problem. |
@tossy-yossy (I have a paper submission this week and get back after that's finished) |
@tossy-yossy @mtlouie-unm @franyoadam The training will be stable with using pretrained RPN models. The pretrained RPN for VGG is uploaded to: Here is the example command.
|
Hello, |
@ianstath |
mean object per image? you mean one finding per image?Yes, in most o the Images, I have only one object to be detected. Also, I thought that |
may help. I haven't tried on mobilenet so would help if you can. |
I'm also encountering the empty detections issue. Trained both the RPN & detection network on my own dataset using vgg pretrained weights. Do you have any idea on how to solve this issue? |
For me, it was matter of dataset and overfitting. The resnet50 seems to be quite big for a dataset of 240 images. |
This was really just a testrun on 2 of the like 10 classes I want to detect eventually. Also; did you manage to extract the ROI's proposed by the RPN alone? |
I will give some tips for training frcnns. Check whether the rpn_cls or detector_cls losses aren't too high (>1 after training is quite high).
|
Hello, |
check the parsers opotions for data augmentation. Also the vgg.py or resnet.py for adding dropout or make any change to vase networks. I didnt make to extact the ROI's of RPN. I only cropped the proposals of the test.py. |
@kentaroy47 I'm getting also Empty Detections, Any idea to solve it? Which is a good loss in the RPN at the end of the training process? This is the code i'm using in the test step:
Here is a sample of the ouput:
|
In the train_frcnn.py, from R = roi_helpers.rpn_to_roi(P_rpn[0], P_rpn[1], C, K.image_dim_ordering(), use_regr=True, overlap_thresh=0.4, max_boxes=300) the overlap_thresh is 0.4 ,I think it is a mistake and it lead to the high score in 'bg',I met same problem and when I change it to 0.7, it solved. Maybe you can have a try. |
@Aymdr So do you recommend me to incress the overlap_thresh=0.4 to overlap_thresh=0.7? |
In my training yesterday, in train_frcnn.py, i change the overlap_thresh = 0.9, and in test_frcnn.py ,I change the overlap_thresh = 0.7, bbox_threshold = 0.8, and I do not train the RPN, the result is not empty and have a good effect |
I tried recommended steps as above, but i am also getting empty detections for resnet50. |
Is the problem solved? i have the same problem. |
Hi all, I have the same problem as above: performances with backbone VGG16 are quite good, but they are much lower when using resnet50 or IRV2 as backbones. |
Hi all, as anyone tried any hyperparameter tuning methods? such as grid search? |
You can try with optuna, but will take a long time..
https://optuna.org/
2020年8月26日(水) 16:13 linaemunsamy <[email protected]>:
… Hi all, as anyone tried any hyperparameter tuning methods? such as grid
search?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJOG4JJJXDT36SU23Q62D5LSCSYYJANCNFSM4IEC4GDA>
.
|
@kentaroy47 still have the same issue.... |
@alessandrobetti hi, did you get any way to solve the issue? |
@yellowjs0304 |
did you solved ? i have the same issue, but increasing the max bounding box retrieved from RPN the mAP increased to 60. |
@Aymdr @ambigus9 @kentaroy47 no detection i change threshold value to 0.7 still not able to detect.. help me.. and do please about map |
When executing test_frcnn.py it seems that I pass in the path to where my test images are located, but I get zero detections when testing the model that was successfully trained. Wouldn't the testing phase need labeled data to see how well the model detects?
The text was updated successfully, but these errors were encountered: