bryancatanzaro / damascene Goto Github PK
View Code? Open in Web Editor NEWEfficient, High Quality Image Contour Detection
License: Other
Efficient, High Quality Image Contour Detection
License: Other
Hi,
I am trying to reproduce results from the paper related to gPb with GPU. The runtime error I encounter while trying to generate the boundary image is attached in the end.
(1) I am running cuda 7.0. Could that be an issue? Should I roll back to cuda 6.0? In terms of hardware, I tried it on a Quadro K5000.
(2) // copy pixels CUDA_SAFE_CALL( cudaMemcpy2DToArray(cuda_parabola_pixels, 0, 0, devPixels, border_width*sizeof(int), border_width*sizeof(int), border_height*norients, cudaMemcpyDeviceToDevice) );
is the line in the parabola.cu file. As I keep removing these operations, similar errors occur further down in the code.
(3) Is there any expectation for the image used in terms of size as input that is causing the memory to overflow and cause an illegal access?
(4) I followed the build instructions in the README, and added 'm' and 'stdc++' to the linker list in the SConstruct file for Ubuntu 14.04. And then ran the scons command. Is there any additional build step?
Any pointers regarding this would be helpful. Thanks!
$ ./contour ~/Downloads/3096_roi.ppm
Using cuda device 0: Quadro K5000
Processing: /home/user/Downloads/3096_roi.ppm, output in /home/user/Downloads/3096_roiPb.pgm and /home/user/Downloads/3096_roi.pb
Eig 9 Tol 0.001000 Texton 1Image found: 481 x 321 pixels
Available 2765070336 bytes on GPU
>+< rgbUtoGrayF | 0.049504 | ms
Convolving
Beginning kmeans with 15 max iterations
Changes: 172077
Changes: 115379
Changes: 52198
Changes: 40522
Changes: 27055
Changes: 24549
Changes: 23285
Changes: 20741
Changes: 19376
Changes: 17479
Changes: 15946
Changes: 15384
Changes: 15246
Changes: 15009
Changes: 14467
15 iterations until termination
Kmeans completed
>+< texton | 262.094238 | ms
>+< rgbUtoLab3F | 0.931840 | ms
>+< normalizeLab | 0.058752 | ms
>+< mirrorImage | 0.769760 | ms
Beginning Local cues computation
CUDA Error: an illegal memory access was encountered build/parabola.cu 88
Hello.
I have built the library and while running, the program crashes at the part where
the ACML is first used (when applying sgetrf function).
I used gfortran version and also tried the ifortran.
Did you get error like this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.