FCHD-Fully-Convolutional-Head-Detector
FCHD-Fully-Convolutional-Head-Detector copied to clipboard
run demo error
oints/head_detector_final
test_image/test3.jpg
checkpoints/head_detector_final
(600.0, 789.7172236503856)
WARNING:root:Setting up a new session...
Traceback (most recent call last):
File "head_detection_demo.py", line 73, in
/usr/local/cuda-8.0/include/cuda_fp16.h(3000): error: identifier "__float2half_rn" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(55): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(45): error: no suitable constructor exists to convert from "float" to "__half"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(47): error: no suitable constructor exists to convert from "float" to "__half"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(48): error: no suitable constructor exists to convert from "double" to "__half"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(49): error: no suitable constructor exists to convert from "int" to "__half"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(50): error: no suitable constructor exists to convert from "unsigned int" to "__half"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(51): error: no suitable constructor exists to convert from "long long" to "__half"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(52): error: no suitable constructor exists to convert from "unsigned long long" to "__half"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(57): error: no suitable conversion function from "const half" to "float" exists
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(62): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(66): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(66): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(71): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(75): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(79): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(107): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(107): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(108): error: expected a ";"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(109): error: expected a ";"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(110): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(110): error: identifier "y_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(115): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(115): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(116): error: expected a ";"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(117): error: expected a ";"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(119): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(121): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(123): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(123): error: identifier "y_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(125): error: identifier "y_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(126): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(128): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(130): error: identifier "y_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(131): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(133): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(135): error: identifier "ret_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(140): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(140): error: identifier "__half_raw" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(141): error: expected a ";"
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(142): error: identifier "y_raw_" is undefined
/usr/local/lib/python2.7/dist-packages/cupy/core/include/cupy/carray.cuh(281): warning: statement is unreachable detected during instantiation of "void CIndexer<_ndim>::set(ptrdiff_t) [with _ndim=1]" /tmp/tmpom81Le/kern.cu(12): here
42 errors detected in the compilation of "/tmp/tmpom81Le/kern.cu".
Here is the detail of my environment:
Ubuntu 16.04 Python 2.7 PyTorch 0.41 with GPU cupy-cuda80 CUDA Version 8.0.61
i have meet the same bug, have you find the reason?
I suspect the problem with the cuda version, but no verification
I meet the same err,have you find how to solve it?
I'm also bothered by the same error.
Hi, could you try setting CUDA_PATH
and LD_LIBRARY_PATH
?
CuPy always raises cupy.cuda.compiler.CompileException
https://docs-cupy.chainer.org/en/latest/install.html#cupy-always-raises-cupy-cuda-compiler-compileexception
When I ran python head_detection_demo.py
, the same error occurred. It can be solved by the suggestion of @kmaehashi. Thanks :100:
Hi, could you try setting
CUDA_PATH
andLD_LIBRARY_PATH
?CuPy always raises cupy.cuda.compiler.CompileException
https://docs-cupy.chainer.org/en/latest/install.html#cupy-always-raises-cupy-cuda-compiler-compileexception
I tried the soulution, but the problem still there. Is there any other way to solve this problem, any idea could help. Thanks a lot!
same problem. @dongxijia have you solved?