Ask Your Question

sisi004's profile - activity

2017-02-25 09:44:22 -0600 received badge  Editor (source)
2017-02-25 09:37:01 -0600 commented question Test Files for opencv_contrib/modules/dnn_modern/samples/simple_test.cpp

Hi, version 4.9, i added your suggestion but nothing, always error with simple_test.cpp.

2017-02-24 19:04:20 -0600 commented question Error with multiband_blend.cu, compiling Opencv 3.2.0 on Ubuntu 15.10, with CUDA 7.5

I still try to install Opencv3.2, if you could to help i will very thankfully. My other post is titled "Test Files for opencv_contrib/modules/dnn_modern/samples/simple_test.cpp". Thank you.

2017-02-24 19:03:46 -0600 commented answer Error with multiband_blend.cu, compiling Opencv 3.2.0 on Ubuntu 15.10, with CUDA 7.5

Anyway, i program with deep learning, opencv, dlib and other libraries. I still try to install Opencv3.2, if you could to help i will very thankfully. My other post is titled "Test Files for opencv_contrib/modules/dnn_modern/samples/simple_test.cpp". Thank you.

2017-02-24 19:02:04 -0600 asked a question Test Files for opencv_contrib/modules/dnn_modern/samples/simple_test.cpp

Hello, In ubuntu 15.10, cuda 7.5 on GTX750M, with g++ 4.9.2, i'm trying to install opencv3.2, i updated my cmake to 3.4 because i realized that my dnn_modern don't was founded, but now i get this error:

[ 36%] Building CXX object modules/bgsegm/CMakeFiles/example_bgsegm_bgfg_gmg.dir/samples/bgfg_gmg.cpp.o /home/elaura/Documentos/App/opencv_contrib/modules/dnn_modern/samples/simple_test.cpp: In function ‘std::vector > get_label_list(const string&)’: /home/elaura/Documentos/App/opencv_contrib/modules/dnn_modern/samples/simple_test.cpp:37:59: error: ‘runtime_error’ was not declared in this scope throw runtime_error("failed to open:" + label_file);

[ 36%] Linking CXX executable ../../bin/example_dnn_torch_enet modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/build.make:62: recipe for target 'modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/samples/simple_test.cpp.o' failed make[2]: * [modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/samples/simple_test.cpp.o] Error 1 CMakeFiles/Makefile2:9431: recipe for target 'modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/all' failed make[1]: * [modules/dnn_modern/CMakeFiles/example_dnn_modern_simple_test.dir/all] Error 2 make[1]: * Se espera a que terminen otras tareas....

[ 36%] Building CXX object modules/xobjdetect/CMakeFiles/opencv_xobjdetect.dir/src/waldboost.cpp.o

Where are the files for simple_test?

Thank you

2017-02-21 09:17:59 -0600 commented question Error with multiband_blend.cu, compiling Opencv 3.2.0 on Ubuntu 15.10, with CUDA 7.5

I see, thank you.

2017-02-21 09:12:34 -0600 commented answer Error with multiband_blend.cu, compiling Opencv 3.2.0 on Ubuntu 15.10, with CUDA 7.5

Yes, i stayed with Opencv 3.1 for now. Thank you for your reply.

2017-02-18 08:37:44 -0600 asked a question Error with multiband_blend.cu, compiling Opencv 3.2.0 on Ubuntu 15.10, with CUDA 7.5

Hello, In my Ubuntu 15.10, with CUDA 7.5, gpu GTX 750 Ti, with opencv and opencv_contrib from git clone, I tried to compile Opencv 3.2.0 many times and after many setttings finally always this error appeared at 74% approximately:

[ 74%] Built target opencv_optflow [ 74%] Generating opencl_kernels_stitching.cpp, opencl_kernels_stitching.hpp [ 74%] Building NVCC (Device) object modules/stitching/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_build_warp_maps.cu.o Scanning dependencies of target opencv_structured_light Linking CXX executable ../../bin/opencv_test_ximgproc [ 74%] Building NVCC (Device) object modules/stitching/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_multiband_blend.cu.o Linking CXX executable ../../bin/opencv_test_aruco [ 74%] Built target opencv_test_aruco [ 74%] Built target opencv_test_ximgproc [ 74%] Building CXX object modules/structured_light/CMakeFiles/opencv_structured_light.dir/src/graycodepattern.cpp.o Scanning dependencies of target opencv_perf_photo /home/elaura/Documentos/App/opencv/modules/stitching/src/cuda/multiband_blend.cu(93): error: Within a __device__/__global__ function, only __shared__ variables may be marked "static"

1 error detected in the compilation of "/tmp/tmpxft_0000270e_00000000-6_multiband_blend.cpp1.ii". CMake Error at cuda_compile_generated_multiband_blend.cu.o.cmake:266 (message): Error generating file /home/elaura/Documentos/App/opencv/release/modules/stitching/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_multiband_blend.cu.o

Scanning dependencies of target opencv_test_photo modules/stitching/CMakeFiles/opencv_stitching.dir/build.make:63: recipe for target 'modules/stitching/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_multiband_blend.cu.o' failed make[2]: * [modules/stitching/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_multiband_blend.cu.o] Error 1 make[2]: *

I was searching possible solutions on the web and nothing, i don't get the relation with compiling opencv.

It seems a problem when it try to generate the multiband_blend function, i need to know why i can't have a Opencv 3.2.0 in my machine. Next the details of the CMakeCache.txt:

VTK support is disabled. Incompatible combination: OpenCV + Qt5 and VTK ver.5.8.0 + Qt4
-- Found VTK ver. 5.8.0 (usefile: /usr/lib/vtk-5.8/UseVTK.cmake)
-- Caffe:   YES
-- Protobuf:   YES
-- Glog:   YES
-- Module opencv_dnn_modern disabled because CMake version is less than 3.2
-- freetype2:   YES
-- harfbuzz:    YES
-- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags
-- freetype2:   YES
-- harfbuzz:    YES
-- checking for modules 'tesseract;lept'
--   package 'tesseract' not found
--   package 'lept' not found
-- Tesseract:   NO
-- Caffe:   YES
-- Protobuf:   YES
-- Glog:   YES
-- Check contents of vgg_generated_48.i ...
-- Check contents of vgg_generated_64.i ...
-- Check contents of vgg_generated_80.i ...
-- Check contents of vgg_generated_120.i ...
-- Check contents of boostdesc_bgm.i ...
-- Check contents of boostdesc_bgm_bi.i ...
-- Check contents of boostdesc_bgm_hd.i ...
-- Check contents of boostdesc_binboost_064.i ...
-- Check contents of boostdesc_binboost_128.i ...
-- Check contents of boostdesc_binboost_256.i ...
-- Check contents of boostdesc_lbgm.i ...
-- 
-- General configuration for OpenCV 3.2.0-dev =====================================
--   Version control:               3.2.0-197-g9053839
-- 
--   Extra modules:
--     Location (extra):            /home/elaura/Documentos/App/opencv_contrib/modules
--     Version control (extra):     3.2.0-89-g06752e5
-- 
--   Platform:
--     Timestamp:                   2017-02-18T00:43:08Z
--     Host:                        Linux 3.19.0-69-generic x86_64
--     CMake:                       3.0.2
--     CMake generator:             Unix Makefiles
--     CMake build tool:            /usr/bin/make
--     Configuration:               RELEASE
-- 
--   C/C++:
--     Built as dynamic libs?:      YES
--     C++ Compiler:                /usr/bin/c++  (ver 4.9.2)
--     C++ flags ...
(more)
2016-09-05 00:31:40 -0600 commented question DNN use of neural network foward() to several images

Hi, did you solve the problem?, I see a code here: http://stackoverflow.com/questions/38...

I have a question, the result of your predictions are coherent?, I have a binary classifier and always throw classId=0, and classProb=100%. Did you have a similar problem?

Thanks