Skip to content
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

error: constexpr function return is non-constant #55

Closed
ethanhe42 opened this issue Oct 1, 2018 · 3 comments
Closed

error: constexpr function return is non-constant #55

ethanhe42 opened this issue Oct 1, 2018 · 3 comments

Comments

@ethanhe42
Copy link

The following error occur when I bash make.sh.

~/light_head_rcnn/lib/utils/py_faster_rcnn_utils ~/light_head_rcnn/lib
python3 setup.py build_ext --inplace
running build_ext
skipping 'bbox.c' Cython extension (up-to-date)
skipping 'nms.c' Cython extension (up-to-date)
rm -rf build
~/light_head_rcnn/lib
~/light_head_rcnn/lib/lib_kernel/lib_psroi_pooling ~/light_head_rcnn/lib
/usr/local/lib/python3.5/dist-packages/tensorflow/include/absl/strings/string_view.h(501): error: constexpr function return is non-constant

/usr/local/lib/python3.5/dist-packages/tensorflow/include/google/protobuf/arena_impl.h(55): warning: integer conversion resulted in a change of sign

/usr/local/lib/python3.5/dist-packages/tensorflow/include/google/protobuf/arena_impl.h(309): warning: integer conversion resulted in a change of sign

/usr/local/lib/python3.5/dist-packages/tensorflow/include/google/protobuf/arena_impl.h(310): warning: integer conversion resulted in a change of sign


@ppwwyyxx
Copy link

ppwwyyxx commented Oct 1, 2018

Add the -DNDEBUG compilation flag.

@ethanhe42
Copy link
Author

Thanks! It works : )

@aggpankaj2
Copy link

@yihui-he hi , How much MAP you got ......?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants