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

dnn module #6

Open
Favi0 opened this issue Feb 27, 2019 · 2 comments
Open

dnn module #6

Favi0 opened this issue Feb 27, 2019 · 2 comments

Comments

@Favi0
Copy link

Favi0 commented Feb 27, 2019

Hello i was wondering if your repo would work as the backend for dnn module?

@Favi0
Copy link
Author

Favi0 commented Feb 27, 2019

setPreferableBackend(cv2.dnn.DNN_BACKEND_OPENCV)
setPreferableTarget(cv2.dnn.DNN_TARGET_OPENCL)

target not backend*

@maxritter
Copy link

maxritter commented Mar 30, 2019

Just tried it out and didn't work for me:

                 via OPENCV_OCL4DNN_CONFIG_PATH parameter.
OpenCL program build log: dnn/dummy
Status -15: CL_COMPILE_PROGRAM_FAILURE
-cl-no-subgroup-ifp
[E] Sat Mar 30 09:23:48 2019:  (1) /usr/local/lib/libVC4CC.so.1.2 : vc4c::CompilationError::CompilationError(vc4c::CompilationStep, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xf4 [0x6975de50]
[E] Sat Mar 30 09:23:48 2019:  (2) /usr/local/lib/libVC4CC.so.1.2 : +0x7d2ff8 [0x69a2aff8]
[E] Sat Mar 30 09:23:48 2019:  (3) /usr/local/lib/libVC4CC.so.1.2 : +0x7d3360 [0x69a2b360]
[E] Sat Mar 30 09:23:48 2019:  (4) /usr/local/lib/libVC4CC.so.1.2 : vc4c::precompilation::compileOpenCLWithDefaultHeader(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x64 [0x69a2b724]
[E] Sat Mar 30 09:23:48 2019:  (5) /usr/local/lib/libVC4CC.so.1.2 : std::_Function_handler<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&), void (*)(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::_M_invoke(std::_Any_data const&, vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x60 [0x69a2ece4]
[E] Sat Mar 30 09:23:48 2019:  (6) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0x78 [0x69a2dc88]
[E] Sat Mar 30 09:23:48 2019:  (7) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> vc4c::precompilation::chainSteps<(vc4c::SourceType)3, (vc4c::SourceType)1, (vc4c::SourceType)3>(std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&, std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)3>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&)::{lambda(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)#1}::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0xa0 [0x69a2cdf4]
[E] Sat Mar 30 09:23:48 2019:  (8) /usr/local/lib/libVC4CC.so.1.2 : std::_Function_handler<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&), std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> vc4c::precompilation::chainSteps<(vc4c::SourceType)3, (vc4c::SourceType)1, (vc4c::SourceType)3>(std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&, std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)3>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&)::{lambda(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)#1}>::_M_invoke(std::_Any_data const&, vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x5c [0x69a2f0b8]
[E] Sat Mar 30 09:23:48 2019:  (9) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0x78 [0x69a2dc88]
[E] Sat Mar 30 09:23:48 2019:  (10) /usr/local/lib/libVC4CC.so.1.2 : vc4c::Precompiler::run(std::unique_ptr<std::istream, std::default_delete<std::istream> >&, vc4c::SourceType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)+0x5c4 [0x69a33c44]
[E] Sat Mar 30 09:23:48 2019:  (11) /usr/local/lib/libVC4CC.so.1.2 : vc4c::Precompiler::precompile(std::istream&, std::unique_ptr<std::istream, std::default_delete<std::istream> >&, vc4c::Configuration, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)+0x164 [0x69a31a60]
[E] Sat Mar 30 09:23:48 2019:  (12) /usr/local/lib/libVC4CL.so : +0x5a658 [0x69b7e658]
[E] Sat Mar 30 09:23:48 2019:  (13) /usr/local/lib/libVC4CL.so : vc4cl::Program::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, vc4cl::object_wrapper<vc4cl::Program>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, vc4cl::object_wrapper<vc4cl::Program> > > > const&, void (*)(_cl_program*, void*), void*)+0xd8 [0x69b7f090]
[E] Sat Mar 30 09:23:48 2019:  (14) /usr/local/lib/libVC4CL.so : VC4CL_clBuildProgram+0x23c [0x69b86148]
[E] Sat Mar 30 09:23:48 2019:  (15) /usr/local/lib/libopencv_core.so.4.0 : +0x1aba94 [0x76c6ba94]
[E] Sat Mar 30 09:23:48 2019:  (16) /usr/local/lib/libopencv_core.so.4.0 : +0x1b4440 [0x76c74440]
[E] Sat Mar 30 09:23:48 2019:  (17) /usr/local/lib/libopencv_core.so.4.0 : +0x1bf64c [0x76c7f64c]
[E] Sat Mar 30 09:23:48 2019:  (18) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Program::create(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x68 [0x76c7faa8]
[E] Sat Mar 30 09:23:48 2019:  (19) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Program::Program(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x14 [0x76c7fc14]
[E] Sat Mar 30 09:23:48 2019:  (20) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Context::Impl::getProg(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x2f0 [0x76c7ff0c]
[E] Sat Mar 30 09:23:48 2019:  (21) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Context::getProg(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x24 [0x76c801f4]
[E] Sat Mar 30 09:23:48 2019:  (22) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1ce3ac [0x7649e3ac]
[E] Sat Mar 30 09:23:48 2019:  (23) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1d39b4 [0x764a39b4]
[E] Sat Mar 30 09:23:48 2019:  (24) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1d4230 [0x764a4230]
[E] Sat Mar 30 09:23:48 2019:  (25) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1db284 [0x764ab284]
[E] Sat Mar 30 09:23:48 2019:  (26) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1db4d8 [0x764ab4d8]
[E] Sat Mar 30 09:23:48 2019:  (27) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1e0564 [0x764b0564]
[E] Sat Mar 30 09:23:48 2019:  (28) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1e0760 [0x764b0760]
[E] Sat Mar 30 09:23:48 2019:  (29) /usr/local/lib/libopencv_dnn.so.4.0 : +0x13af50 [0x7640af50]
[E] Sat Mar 30 09:23:48 2019:  (30) /usr/local/lib/libopencv_dnn.so.4.0 : +0x13cc0c [0x7640cc0c]
[E] Sat Mar 30 09:23:48 2019:  (31) /usr/local/lib/libopencv_dnn.so.4.0 : +0x110c4c [0x763e0c4c]
[E] Sat Mar 30 09:23:48 2019:  (32) /usr/local/lib/libopencv_dnn.so.4.0 : +0x111c90 [0x763e1c90]
[E] Sat Mar 30 09:23:48 2019:  (33) /usr/local/lib/libopencv_dnn.so.4.0 : cv::dnn::dnn4_v20181221::Net::forward(cv::_OutputArray const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x1d0 [0x763f6bd0]
[E] Sat Mar 30 09:23:48 2019:  (34) ./terminal_client() [0x24a10]
[E] Sat Mar 30 09:23:48 2019:  (35) ./terminal_client() [0x1c700]
[E] Sat Mar 30 09:23:48 2019:  (36) ./terminal_client() [0x1c7b8]
[E] Sat Mar 30 09:23:48 2019:  (37) /lib/arm-linux-gnueabihf/libpthread.so.0 : +0xad1c [0x75fcdd1c]
[E] Sat Mar 30 09:23:48 2019:  (38) ./terminal_client() [0x1fa60]
[E] Sat Mar 30 09:23:48 2019:  (39) /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 : +0x9c9dc [0x761289dc]
[E] Sat Mar 30 09:23:48 2019: Failed to remove temporary file: No such file or directory
[E] Sat Mar 30 09:23:48 2019: Failed to remove temporary file: No such file or directory

OpenCL program build log: dnn/conv_layer_spatial
Status -15: CL_COMPILE_PROGRAM_FAILURE
 -D TYPE=1 -D Dtype=float -D Dtype2=float2 -D Dtype4=float4 -D Dtype8=float8 -D Dtype16=float16 -D as_Dtype=as_float -D as_Dtype2=as_float2 -D as_Dtype4=as_float4 -D as_Dtype8=as_float8 -D KERNEL_WIDTH=3 -D KERNEL_HEIGHT=3 -D STRIDE_X=1 -D STRIDE_Y=1 -D DILATION_X=1 -D DILATION_Y=1 -D KERNEL_BASIC -cl-fast-relaxed-math -D ConvolveBasic=BASIC_k3x3_cn1_g1_s1x1_d1x1_b1_in224x224_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1 -D CHANNELS=1 -D APPLY_BIAS=1 -D OUTPUT_Z=16 -D ZPAR=1 -D FUSED_CONV_RELU=1
[E] Sat Mar 30 09:23:48 2019:  (1) /usr/local/lib/libVC4CC.so.1.2 : vc4c::CompilationError::CompilationError(vc4c::CompilationStep, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xf4 [0x6975de50]
[E] Sat Mar 30 09:23:48 2019:  (2) /usr/local/lib/libVC4CC.so.1.2 : +0x7d2ff8 [0x69a2aff8]
[E] Sat Mar 30 09:23:48 2019:  (3) /usr/local/lib/libVC4CC.so.1.2 : +0x7d3360 [0x69a2b360]
[E] Sat Mar 30 09:23:48 2019:  (4) /usr/local/lib/libVC4CC.so.1.2 : vc4c::precompilation::compileOpenCLWithDefaultHeader(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x64 [0x69a2b724]
[E] Sat Mar 30 09:23:48 2019:  (5) /usr/local/lib/libVC4CC.so.1.2 : std::_Function_handler<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&), void (*)(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::_M_invoke(std::_Any_data const&, vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x60 [0x69a2ece4]
[E] Sat Mar 30 09:23:48 2019:  (6) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0x78 [0x69a2dc88]
[E] Sat Mar 30 09:23:48 2019:  (7) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> vc4c::precompilation::chainSteps<(vc4c::SourceType)3, (vc4c::SourceType)1, (vc4c::SourceType)3>(std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&, std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)3>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&)::{lambda(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)#1}::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0xa0 [0x69a2cdf4]
[E] Sat Mar 30 09:23:48 2019:  (8) /usr/local/lib/libVC4CC.so.1.2 : std::_Function_handler<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&), std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> vc4c::precompilation::chainSteps<(vc4c::SourceType)3, (vc4c::SourceType)1, (vc4c::SourceType)3>(std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&, std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)3>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&)::{lambda(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)#1}>::_M_invoke(std::_Any_data const&, vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x5c [0x69a2f0b8]
[E] Sat Mar 30 09:23:48 2019:  (9) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0x78 [0x69a2dc88]
[E] Sat Mar 30 09:23:48 2019:  (10) /usr/local/lib/libVC4CC.so.1.2 : vc4c::Precompiler::run(std::unique_ptr<std::istream, std::default_delete<std::istream> >&, vc4c::SourceType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)+0x5c4 [0x69a33c44]
[E] Sat Mar 30 09:23:48 2019:  (11) /usr/local/lib/libVC4CC.so.1.2 : vc4c::Precompiler::precompile(std::istream&, std::unique_ptr<std::istream, std::default_delete<std::istream> >&, vc4c::Configuration, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)+0x164 [0x69a31a60]
[E] Sat Mar 30 09:23:48 2019:  (12) /usr/local/lib/libVC4CL.so : +0x5a658 [0x69b7e658]
[E] Sat Mar 30 09:23:48 2019:  (13) /usr/local/lib/libVC4CL.so : vc4cl::Program::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, vc4cl::object_wrapper<vc4cl::Program>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, vc4cl::object_wrapper<vc4cl::Program> > > > const&, void (*)(_cl_program*, void*), void*)+0xd8 [0x69b7f090]
[E] Sat Mar 30 09:23:48 2019:  (14) /usr/local/lib/libVC4CL.so : VC4CL_clBuildProgram+0x23c [0x69b86148]
[E] Sat Mar 30 09:23:48 2019:  (15) /usr/local/lib/libopencv_core.so.4.0 : +0x1aba94 [0x76c6ba94]
[E] Sat Mar 30 09:23:48 2019:  (16) /usr/local/lib/libopencv_core.so.4.0 : +0x1b4440 [0x76c74440]
[E] Sat Mar 30 09:23:48 2019:  (17) /usr/local/lib/libopencv_core.so.4.0 : +0x1bf64c [0x76c7f64c]
[E] Sat Mar 30 09:23:48 2019:  (18) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Program::create(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x68 [0x76c7faa8]
[E] Sat Mar 30 09:23:48 2019:  (19) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Program::Program(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x14 [0x76c7fc14]
[E] Sat Mar 30 09:23:48 2019:  (20) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Context::Impl::getProg(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x2f0 [0x76c7ff0c]
[E] Sat Mar 30 09:23:48 2019:  (21) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Context::getProg(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x24 [0x76c801f4]
[E] Sat Mar 30 09:23:48 2019:  (22) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1da420 [0x764aa420]
[E] Sat Mar 30 09:23:48 2019:  (23) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1db294 [0x764ab294]
[E] Sat Mar 30 09:23:48 2019:  (24) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1db4d8 [0x764ab4d8]
[E] Sat Mar 30 09:23:48 2019:  (25) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1e0564 [0x764b0564]
[E] Sat Mar 30 09:23:48 2019:  (26) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1e0760 [0x764b0760]
[E] Sat Mar 30 09:23:48 2019:  (27) /usr/local/lib/libopencv_dnn.so.4.0 : +0x13af50 [0x7640af50]
[E] Sat Mar 30 09:23:48 2019:  (28) /usr/local/lib/libopencv_dnn.so.4.0 : +0x13cc0c [0x7640cc0c]
[E] Sat Mar 30 09:23:48 2019:  (29) /usr/local/lib/libopencv_dnn.so.4.0 : +0x110c4c [0x763e0c4c]
[E] Sat Mar 30 09:23:48 2019:  (30) /usr/local/lib/libopencv_dnn.so.4.0 : +0x111c90 [0x763e1c90]
[E] Sat Mar 30 09:23:48 2019:  (31) /usr/local/lib/libopencv_dnn.so.4.0 : cv::dnn::dnn4_v20181221::Net::forward(cv::_OutputArray const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x1d0 [0x763f6bd0]
[E] Sat Mar 30 09:23:48 2019:  (32) ./terminal_client() [0x24a10]
[E] Sat Mar 30 09:23:48 2019:  (33) ./terminal_client() [0x1c700]
[E] Sat Mar 30 09:23:48 2019:  (34) ./terminal_client() [0x1c7b8]
[E] Sat Mar 30 09:23:48 2019:  (35) /lib/arm-linux-gnueabihf/libpthread.so.0 : +0xad1c [0x75fcdd1c]
[E] Sat Mar 30 09:23:48 2019:  (36) ./terminal_client() [0x1fa60]
[E] Sat Mar 30 09:23:48 2019:  (37) /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 : +0x9c9dc [0x761289dc]
[E] Sat Mar 30 09:23:48 2019: Failed to remove temporary file: No such file or directory
[E] Sat Mar 30 09:23:48 2019: Failed to remove temporary file: No such file or directory

Failed to compile kernel: BASIC_k3x3_cn1_g1_s1x1_d1x1_b1_in224x224_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1, buildflags:  -D TYPE=1 -D Dtype=float -D Dtype2=float2 -D Dtype4=float4 -D Dtype8=float8 -D Dtype16=float16 -D as_Dtype=as_float -D as_Dtype2=as_float2 -D as_Dtype4=as_float4 -D as_Dtype8=as_float8 -D KERNEL_WIDTH=3 -D KERNEL_HEIGHT=3 -D STRIDE_X=1 -D STRIDE_Y=1 -D DILATION_X=1 -D DILATION_Y=1 -D KERNEL_BASIC -cl-fast-relaxed-math -D ConvolveBasic=BASIC_k3x3_cn1_g1_s1x1_d1x1_b1_in224x224_p1x1_num1_M16_activ1_eltwise0_FP32_4_1_1_1 -D CHANNELS=1 -D APPLY_BIAS=1 -D OUTPUT_Z=16 -D ZPAR=1 -D FUSED_CONV_RELU=1, errmsg: [E] Sat Mar 30 09:23:48 2019:  (1) /usr/local/lib/libVC4CC.so.1.2 : vc4c::CompilationError::CompilationError(vc4c::CompilationStep, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0xf4 [0x6975de50]
[E] Sat Mar 30 09:23:48 2019:  (2) /usr/local/lib/libVC4CC.so.1.2 : +0x7d2ff8 [0x69a2aff8]
[E] Sat Mar 30 09:23:48 2019:  (3) /usr/local/lib/libVC4CC.so.1.2 : +0x7d3360 [0x69a2b360]
[E] Sat Mar 30 09:23:48 2019:  (4) /usr/local/lib/libVC4CC.so.1.2 : vc4c::precompilation::compileOpenCLWithDefaultHeader(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x64 [0x69a2b724]
[E] Sat Mar 30 09:23:48 2019:  (5) /usr/local/lib/libVC4CC.so.1.2 : std::_Function_handler<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&), void (*)(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::_M_invoke(std::_Any_data const&, vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x60 [0x69a2ece4]
[E] Sat Mar 30 09:23:48 2019:  (6) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0x78 [0x69a2dc88]
[E] Sat Mar 30 09:23:48 2019:  (7) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> vc4c::precompilation::chainSteps<(vc4c::SourceType)3, (vc4c::SourceType)1, (vc4c::SourceType)3>(std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&, std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)3>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&)::{lambda(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)#1}::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0xa0 [0x69a2cdf4]
[E] Sat Mar 30 09:23:48 2019:  (8) /usr/local/lib/libVC4CC.so.1.2 : std::_Function_handler<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&), std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> vc4c::precompilation::chainSteps<(vc4c::SourceType)3, (vc4c::SourceType)1, (vc4c::SourceType)3>(std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&, std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)3>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)> const&)::{lambda(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)#1}>::_M_invoke(std::_Any_data const&, vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)+0x5c [0x69a2f0b8]
[E] Sat Mar 30 09:23:48 2019:  (9) /usr/local/lib/libVC4CC.so.1.2 : std::function<void (vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&)>::operator()(vc4c::precompilation::PrecompilationSource<(vc4c::SourceType)1>&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::precompilation::PrecompilationResult<(vc4c::SourceType)3>&) const+0x78 [0x69a2dc88]
[E] Sat Mar 30 09:23:48 2019:  (10) /usr/local/lib/libVC4CC.so.1.2 : vc4c::Precompiler::run(std::unique_ptr<std::istream, std::default_delete<std::istream> >&, vc4c::SourceType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)+0x5c4 [0x69a33c44]
[E] Sat Mar 30 09:23:48 2019:  (11) /usr/local/lib/libVC4CC.so.1.2 : vc4c::Precompiler::precompile(std::istream&, std::unique_ptr<std::istream, std::default_delete<std::istream> >&, vc4c::Configuration, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&, vc4c::Optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >)+0x164 [0x69a31a60]
[E] Sat Mar 30 09:23:48 2019:  (12) /usr/local/lib/libVC4CL.so : +0x5a658 [0x69b7e658]
[E] Sat Mar 30 09:23:48 2019:  (13) /usr/local/lib/libVC4CL.so : vc4cl::Program::compile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::unordered_map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, vc4cl::object_wrapper<vc4cl::Program>, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, vc4cl::object_wrapper<vc4cl::Program> > > > const&, void (*)(_cl_program*, void*), void*)+0xd8 [0x69b7f090]
[E] Sat Mar 30 09:23:48 2019:  (14) /usr/local/lib/libVC4CL.so : VC4CL_clBuildProgram+0x23c [0x69b86148]
[E] Sat Mar 30 09:23:48 2019:  (15) /usr/local/lib/libopencv_core.so.4.0 : +0x1aba94 [0x76c6ba94]
[E] Sat Mar 30 09:23:48 2019:  (16) /usr/local/lib/libopencv_core.so.4.0 : +0x1b4440 [0x76c74440]
[E] Sat Mar 30 09:23:48 2019:  (17) /usr/local/lib/libopencv_core.so.4.0 : +0x1bf64c [0x76c7f64c]
[E] Sat Mar 30 09:23:48 2019:  (18) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Program::create(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x68 [0x76c7faa8]
[E] Sat Mar 30 09:23:48 2019:  (19) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Program::Program(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x14 [0x76c7fc14]
[E] Sat Mar 30 09:23:48 2019:  (20) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Context::Impl::getProg(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x2f0 [0x76c7ff0c]
[E] Sat Mar 30 09:23:48 2019:  (21) /usr/local/lib/libopencv_core.so.4.0 : cv::ocl::Context::getProg(cv::ocl::ProgramSource const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)+0x24 [0x76c801f4]
[E] Sat Mar 30 09:23:48 2019:  (22) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1da420 [0x764aa420]
[E] Sat Mar 30 09:23:48 2019:  (23) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1db294 [0x764ab294]
[E] Sat Mar 30 09:23:48 2019:  (24) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1db4d8 [0x764ab4d8]
[E] Sat Mar 30 09:23:48 2019:  (25) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1e0564 [0x764b0564]
[E] Sat Mar 30 09:23:48 2019:  (26) /usr/local/lib/libopencv_dnn.so.4.0 : +0x1e0760 [0x764b0760]
[E] Sat Mar 30 09:23:48 2019:  (27) /usr/local/lib/libopencv_dnn.so.4.0 : +0x13af50 [0x7640af50]
[E] Sat Mar 30 09:23:48 2019:  (28) /usr/local/lib/libopencv_dnn.so.4.0 : +0x13cc0c [0x7640cc0c]
[E] Sat Mar 30 09:23:48 2019:  (29) /usr/local/lib/libopencv_dnn.so.4.0 : +0x110c4c [0x763e0c4c]
[E] Sat Mar 30 09:23:48 2019:  (30) /usr/local/lib/libopencv_dnn.so.4.0 : +0x111c90 [0x763e1c90]
[E] Sat Mar 30 09:23:48 2019:  (31) /usr/local/lib/libopencv_dnn.so.4.0 : cv::dnn::dnn4_v20181221::Net::forward(cv::_OutputArray const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x1d0 [0x763f6bd0]
[E] Sat Mar 30 09:23:48 2019:  (32) ./terminal_client() [0x24a10]
[E] Sat Mar 30 09:23:48 2019:  (33) ./terminal_client() [0x1c700]
[E] Sat Mar 30 09:23:48 2019:  (34) ./terminal_client() [0x1c7b8]
[E] Sat Mar 30 09:23:48 2019:  (35) /lib/arm-linux-gnueabihf/libpthread.so.0 : +0xad1c [0x75fcdd1c]
[E] Sat Mar 30 09:23:48 2019:  (36) ./terminal_client() [0x1fa60]
[E] Sat Mar 30 09:23:48 2019:  (37) /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 : +0x9c9dc [0x761289dc]
[E] Sat Mar 30 09:23:48 2019: Failed to remove temporary file: No such file or directory
[E] Sat Mar 30 09:23:48 2019: Failed to remove temporary file: No such file or directory

Segmentation fault (core dumped)```

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

2 participants