Code Monkey home page Code Monkey logo

Comments (2)

subzerofun avatar subzerofun commented on August 22, 2024 1

Stupid question, but have you generated the Laplacian matrices with Matlab / Octave – are they saved in /gen_laplacian/Input_Laplacian_3x3_1e-7_CSR[Image-Index].mat?

Was just guessing because line of 291 in deepmatting_seg.lua:
local grad = cuda_utils.matting_laplacian(output01, h, w, CSR_rowIdx, CSR_colIdx, CSR_val, N)

But that is probably not the issue, since line 117 loads the .mat files:
local CSR_fn = 'gen_laplacian/Input_Laplacian_'..tostring(params.patch)..'x'..tostring(params.patch)..'_1e-7_CSR' .. tostring(index) .. '.mat'
If the .mat files were missing, you would already get stuck at this line.

Could you check your makefile if the paths / flags are correct? When i first compiled the file i didn't get any errors, but when i tried to run the code it crashed. The fix was adding -lluajit to LDFLAGS_NVCC, but this is only the case for OSX.

Since the docker version is failing (which has a working torch install + cuda drivers) there has to be something wrong with the cuda_utils.cu, or maybe your card/drivers/CUDA install files?

Which card do you use? The makefile has -arch sm_35 so i'm not sure if older compute architectures are supported.

from deep-photo-styletransfer.

iubunter avatar iubunter commented on August 22, 2024

Wow! Brilliant! I removed -arch sm_35 and it've helped!
My card GeForce GTX 660 and that is the problem)
Thank you very much!

from deep-photo-styletransfer.

Related Issues (20)

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.