zengarden / light_head_rcnn

Light-Head R-CNN
834 stars 223 forks source link

error: constexpr function return is non-constant #55

Closed ethanhe42 closed 6 years ago

ethanhe42 commented 6 years ago

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 commented 6 years ago

Add the -DNDEBUG compilation flag.

ethanhe42 commented 6 years ago

Thanks! It works : )

aggpankaj2 commented 5 years ago

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