Giter VIP home page Giter VIP logo

Comments (3)

yingning avatar yingning commented on May 20, 2024

I have the same warnings after I changed the Makefile line "-I/usr/include/python2.7" into "-I/home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include \ -I/home/jsj/anaconda2/include/python2.7 " And the address "-I/home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include \ -I/home/jsj/anaconda2/include/python2.7" is part of my PYTHON_INCLUDE path. I get the following warning:
cython src/utils/cpu_nms.pyx
gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing
-I/home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include
-I/home/jsj/anaconda2/include/python2.7 -o src/utils/cpu_nms.so src/utils/cpu_nms.c
In file included from /home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1788:0,
from /home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from src/utils/cpu_nms.c:274:
/home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^
In file included from /home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
from /home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from src/utils/cpu_nms.c:274:
/home/jsj/anaconda2/lib/python2.7/site-packages/numpy/core/include/numpy/__multiarray_api.h:1448:1: warning: ‘_import_array’ defined but not used [-Wunused-function]
_import_array(void)
^
rm -rf src/utils/cpu_nms.c.

Your kind heart will be appreciated,thanks in advance!

from ctpn.

yingning avatar yingning commented on May 20, 2024

@tianzhi0549

from ctpn.

clscy avatar clscy commented on May 20, 2024

even though there is the warning, the fifth step python tools/demo.py --no-gpu also run successfully.

from ctpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.