-
Notifications
You must be signed in to change notification settings - Fork 5.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
How to train BING model? #295
Comments
/cc @fpuja |
Hi @erogol , sorry for the late reply. The OpenCV version of BING algorithm coded by me, comes with an already trained model on PASCAL VOC 2007 dataset, which comprises 10.000 images more o less, and it is quite versatile and robust to detect a large number of objects and people. If you have necessity to create your trained model for specific purposes, you can do in this way: I hope I was helpful. Best, Francesco. /cc @lenlen |
Hi @fpuja , recently I tested your implementation of BING algorithm using mexopencv in MATLAB. |
@yixiao1987 did you have any better success? I'm seeing similar issues. @fpuja, any insight? |
I should add that I'm working with opencv 3.2.0 release (and hence 3.2.0 tag of opencv_contrib) |
I think one issue is that the documentation says that top-ranked bounding boxes are highest scores, but it looks like the scores are costs so it's actually the opposite? |
@animetrics No, I have stopped investigation on BING algorithm. But it would be interesting to see if someone gets obviously better results. |
@yixiao1987 Ok, can you clarify what question your answer "No" is to? I do believe that lower scores are better. In fact, they are returned in ascending order, so first 10 would be lowest 10 scores. |
@animetrics By "no", I mean I do not have any better success. I have tried to re-order the bounding boxes to make sure that they are listed in descending order (with respect to their corresponding scores), and then to use the top-ranked bounding boxes after re-ordering, but I don't think they are really better. |
@yixiao1987 sorry, let me clarify. When I call computeSaliency, I'm supposed to get a set of bounding boxes that are sorted with largest scoring boxes first. However, if I subsequently call getobjectnessValues(), the values returned are actually ascending. Is that a bug? |
@animetrics I am not sure if this is a bug. The returned values from getObjectnessValues() do not seem like score to me. The values are all integers, and some values are pretty large, if I remember correctly. In our previous investigation on objectness methods, EdgeBox produces much better and reasonable results than BING and BING++ on our own data. |
@yixiao1987 sorry, I meant to direct these questions to @fpuja as the one who coded this module. |
I try to come up with a new BING model. Could you guide me to do so ? I guess I need to use svmlight like library and export the trained model compatible with the expected format by BING interface.
The text was updated successfully, but these errors were encountered: