Giter VIP home page Giter VIP logo

cbmv's People

Contributors

ccj5351 avatar kbatsos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cbmv's Issues

cuda problem?

I am using a Ubuntu 18.04, CUDA 9.0, Python 2.7, Scikit-learn 0.17.1, Numpy 1.16.4, Scipy 1.2.2 and cPickle 1.71, opencv 3.2.0 and nvcc is 9.0, V9.0.176.

I am trying to run the following command
python main.py --l ./datasets/ArtL/im0.png --r ./datasets/ArtL/im1.png --w 694 --h 554 --d 128 --model ./modelall_4m.rf --prob_save_path ./
But I get the following output:

Cost volume: ./.prob.npy not exists!
Batch testing
Iterations: 4.0
Progress |██████████████████████████████████████████████████| 100.0% Complete
CUDA initialized.
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
Error: no kernel image is available for execution on the device
0.346982002258
Saved ./results/disp.pfm

My guess is it's a problem with the CUDA architecture, any suggestion?
Also, what does this output number mean?
This is what my disp.pfm looks like:

image

Any help will be appreciated :) thanks!

#include "opencv2/xfeatures2d.hpp" NOT FOUND

Hello,

I am using Method 2 from README, first two steps ran successfully.
However when I run step 3: cd ~/cbmv-cvpr18/cpp/rectification/Debug && make clean && make
I get the error: ../rectification.cpp:12:10: fatal error: opencv2/xfeatures2d.hpp: No such file or directory
#include "opencv2/xfeatures2d.hpp"
When I issue: python on my server's terminal, and request version for cv2, I get:

cv2.version
'3.2.0'

I understand that xfeatures2d.hpp comes under the contrib package of openCV - any suggestion how I can get this to work?

Thanks,
Agni.

question

配置好环境之后,如何实现这个项目?????? 望大神不吝赐教

build Command fails as no solution file is found

Hello,

After I run the following command from Method1 described on README:
cd ~/cbmv-cvpr18/cpp/ && mkdir build && cd build && cmake .. && build

I get the error:
MSBUILD: error MSBUILD0003: Please specify the project or solution file to build, as none was found in the current directory
I can see the cmake command has created the aforementioned files but cant find the solution file. Any suggestion?

Thanks,
Agni.

About the dataset

hi, Thank you for your wonderful work. Can u provide the information of your dataset?

Scikit-learn(0.18.1) unable to unpickle a model saved from scikit-learn pre-0.18

Hello, thanks for you excellent work.
Recently, when i test the CBMV using your example command:

python main.py --l ./datasets/ArtL/im0.png --r ./datasets/ArtL/im1.png --w 694 --h 554 --d 128 --model ./modelall_4m.rf --prob_save_path ./

but it returns that UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version pre-0.18 when using version 0.18.1. This might lead to breaking code or invalid results. Use at your own risk.

After searching for method to resolve it, i found that it's the conflict of scikit-learn version. Can you show us the scikit-learn version you use to save the model?

Or could you save the model by scikit-learn 0.18.1, and reload the new version of Model.

Thanks.

post part does NOT work due to GCC GNU 7.0

When I try to run: cd ~/cbmv-cvpr18/cpp/post/ && make clean && make

I get a GNU version 6.0 error, because I have GNU 7.0:
cd ~/ICE/cbmv-cvpr18/cpp/post/ && make clean && make
rm -rf *.so *.o
nvcc -arch=sm_52 --default-stream per-thread -O3 -L/usr/lib -lboost_python -lpython2.7 -I/usr/include/python2.7 -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -I/usr/include -Xcompiler -fopenmp -Xcompiler -fPIC --shared post.cu -o post.so
In file included from /usr/include/host_config.h:50:0,
from /usr/include/cuda_runtime.h:78,
from :0:
/usr/include/crt/host_config.h:121:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
^~~~~
In file included from /usr/include/common_functions.h:50:0,
from /usr/include/cuda_runtime.h:115,
from :0:
/usr/local/include/boost/config/compiler/nvcc.hpp:22:34: error: token ""CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."" is not valid in preprocessor expressions
#if !defined(CUDACC_VER) || (CUDACC_VER < 70500)
^
/usr/local/include/boost/config/compiler/nvcc.hpp:26:6: error: token ""CUDACC_VER is no longer supported. Use CUDACC_VER_MAJOR, CUDACC_VER_MINOR, and CUDACC_VER_BUILD instead."" is not valid in preprocessor expressions
#if (CUDACC_VER > 80000) && (CUDACC_VER < 80100)
^
makefile:27: recipe for target 'post.so' failed
make: *** [post.so] Error 1

Will I NOT be able to run the code if I have GCC GNU version above 6.0?

Agni.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.