liulei01 / DRBox

A deep learning based algorithm to detect rotated object, for example, objects in remote sensing images
Other
421 stars 142 forks source link

Not able to run deployment #37

Open DecentMakeover opened 5 years ago

DecentMakeover commented 5 years ago

Hi

Thanks for sharing your work, I am facing some difficulty in getting the deployment code to work.

As mentioned i cloned the repo, and move the deploy folder to my caffe root.

mv librbox.cpp.code librbox.cpp 
g++ -o librbox.so -shared -fPIC librbox.cpp
cp deploy.py.general_example deploy.py

but when i run this

python deploy.py

i get

  File "deploy.py", line 3, in <module>
    from caffe.model_libs import *
ImportError: No module named model_libs

Did i mess up any step?

Any suggestions would be really helpful. Thanks in advance.