Comments (2)
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.
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)
- CUDA runtime error(8),invalid device function HOT 1
- Question : cuda_utils.cu is for CUDA acceleration?
- how can I run it with nodejs
- Lual_openlib problem HOT 2
- performance time
- Has this work been applied in any adobe software?
- Style Transfer for images without segmentation masks HOT 1
- Doesn't work without Matlab HOT 1
- I find it hard to understand the fuction "deepcopy", could you give me some tips please?
- some confuse about covariance formular
- the result is not good when i run my example
- Licence Problem HOT 3
- 大佬,分割网络原来是150类,合并后的文件在哪 HOT 1
- make clean && make includes THC.h but it's not found HOT 2
- I run the project as readMe says,but the results are gray image,how can i do?
- Try Running on Kaggle ?
- 数据在哪儿下载呢,提供的网址里面只有论文没有找到数据呢
- makefile:10: recipe for target 'libcuda_utils.so' failed HOT 1
- 'imresize' undefined near line 15 column 11 HOT 1
- deepmatting_seg.lua:119: attempt to index a nil value HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deep-photo-styletransfer.