Comments (6)
I've fixed this issue by executing the following commands in terminal:
- cd to you torch directory, and execute the update.sh script
- second, execute "luarocks install cutorch"
from deep-photo-styletransfer.
Can you try require cutorch
in torch? To ensure that cutorch
is installed properly.
from deep-photo-styletransfer.
Trying your method I have encountered this issue BVLC/caffe#5123
from deep-photo-styletransfer.
@Milaine I think you may have changed the makefile content .Look up your makefile again and you will find that the HTC folder which is not exist before we execute torch update.sh script now appear in torch/install/include/THC
and the THCGeneral.h file is also found here.
ATTENTION:the real THCGeneral.h
is located in torch/install/include/THC
after we execute torch update.sh script ,not the file THCGeneral.h.in
located in `torch/extra/cutorch/lib/THC
so what you need to do is to check your makefile again and point to correct HTC folder.
from deep-photo-styletransfer.
@liangpengfei the issue is gcc, the update.sh file is in the torch folder and is not connected to the makefile in the dps directory.
I'd need help to solve the gcc issue since the person that found the issue first just installed a different version of the operating system
from deep-photo-styletransfer.
luarocks install torch
luarocks install cutorch
Did the trick for me. Takes a lot of time to install, and requires several gigs during the installation.
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.