Build Fast RCNN on Mac + El Capitan

Following the tutorial at:

https://github.com/rbgirshick/fast-rcnn

Additional steps:

brew install wget (for fetch fast rcnn models)
brew install easydict
brew install matplotlib

if you did brew install numpy,

and step 3. Build the Cython modules, when you cd lib and make, you will see error like:

fatal error: numpy/arrayobject.h : No such file or directory

You will need to do:

export CFLAGS=-I/usr/local/Cellar/numpy/1.11.0/lib/python2.7/site-packages/numpy/core/include/

Then make will work.

finally, when run ./tools/demo.py,

if you don’t have GPU to run, and only can run on CPU

you should run

./tools/demo.py –cpu

since GPU mode is by default

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: