Comments (9)
@shicai, I also met the same problem. Maybe you can try this way(matlab):
1> Generate object proposals for the image, such as: boxes_tmp = selective_search_boxes(im)
;
the selective search matlab code: https://github.com/rbgirshick/rcnn/blob/master/selective_search
2> Change the format: boxes = boxes_tmp(:, [2 1 4 3]) - 1
;
3> Save the boxes into a mat file and test it.
I think more cars will be detected.
From the source code, I found:
a. The format of proposals in demo mat file is: [left, top, right, bottom], 0-based index
.
Line 86-86: https://github.com/rbgirshick/fast-rcnn/blob/master/lib/fast_rcnn/test.py
b. The format of proposals produced by matlab code is: [top, left, bottom, right], 1-based index
.
Line 145: https://github.com/rbgirshick/fast-rcnn/blob/master/lib/datasets/pascal_voc.py
The code for training changes the format of proposals to [left, top, right, bottom], 0-based index
, but the test code doesn't. I guess it is the reason. Hope these will be helpful.
from fast-rcnn.
I change the boxsize and sigma, the proposals is change, but the result is worse than 2880 proposals for image 000004.jpg
from fast-rcnn.
For that particular image, I used the pre-computed selective search boxes from http://homepages.inf.ed.ac.uk/juijling/index.php#page=projects1. The authors say they used "fast mode", but perhaps they computed those boxes with a slightly different version of selective search than what they released?
For datasets after VOC 2007, I used the code here: https://github.com/rbgirshick/rcnn/tree/master/selective_search to compute boxes myself. Those should be reproducible. It's unfortunate that the boxes they distributed for 2007 seem hard to reproduce (all the more reason to move beyond selective search: http://arxiv.org/abs/1506.01497).
from fast-rcnn.
@rbgirshick, Do you know when the code will be released for the methods proposed in the paper you referred to? I am looking forward to this new setup of RPN + Fast-RCNN !
P.S. A big THANK YOU for fast-rcnn and all of your hard work!
from fast-rcnn.
I should read this issue earlier. I found the same problem, that their result for the 2880 proposals can hardly be reproduced (I tried many different parameters). I think we should not spend more time on this issue, and we can try other proposal methods as well.
from fast-rcnn.
thanks @rbgirshick for your great job.
btw, when will you release the faster rcnn code?
we are looking forward to trying it:)
thanks @yao5461, it's very helpful.
row major vs column major, and 0-based index vs 1-based major
that's the difference between python/c++ and matlab.
from fast-rcnn.
Hi Guys
I have received this problem when I want to run demo ,I dont have any idea ,can you please help me.
Thanks in advance!
OptiPlex-990:~/selective_search_py$ ./demo_showcandidates.py --image image.jpg
Traceback (most recent call last):
File "./demo_showcandidates.py", line 12, in
import selective_search
File "/home/minarezaei/selective_search_py/selective_search.py", line 10, in
import segment
ImportError: /usr/lib/x86_64-linux-gnu/libboost_python-py34.so.1.54.0: undefined symbol: PyUnicode_AsUTF8String
from fast-rcnn.
Hi Mina,
Did your issue got resolved?
from fast-rcnn.
Hi Ross,
I run your demo, and it works good.
But when I use your selective search matlab code from your rcnn repo to generate object proposals for image 000001.jpg, I can only get 2393 proposals, which is not the same as your mat file (2880 proposals). By using these proposals, only 2 cars are detected.
So would you please tell me your configurations of selective search methods?
Or How can I get 2880 proposals for image 000001.jpg?
Thanks.
Where is the image 000001.jpg? @shicai
As to the image 000004.jpg, the matlab file proposes 2383 rectangles while the given one in the repository is 2888.
from fast-rcnn.
Related Issues (20)
- error(message('MATLAB:textread:FileNotFound')); HOT 1
- SyntaxError when l running demo.py HOT 1
- image_path_at : Path does not exist
- Python stopped working when execute 'self.solver.step(1)' code in 'train.py' file. HOT 2
- TypeError: 'numpy.float64' object cannot be interpreted as an index HOT 3
- ImportError: ~/fast-rcnn/caffe-fast-rcnn/distribute/python/caffe/_caffe.so: undefined symbol: _ZN5caffe34_PythonParameter_default_instance_E
- unable to run "fetch_faster_rcnn_models.sh" HOT 1
- Error test_roi_pooling_layer.cpp when running make test HOT 1
- annotation
- Fast-rcnn training error: Check failed: data_ *** Check failure stack trace: *** Aborted (core dumped) when training a VGG16 network HOT 1
- luguo
- nms.py - why are we incrementing inds of order?
- bbox.pyx line44, ih equation issue
- Can only predict one class
- How use first five layer?
- gtx 1080
- How to change VGG16 SSD 300*300 deploy.prototxt to work with 38 classes
- Confusion about the nms implementation HOT 1
- step by step understanding approximate joint training method
- approximate joint training method problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-rcnn.