Giter Club home page Giter Club logo

Comments (6)

Cliffus avatar Cliffus commented on June 9, 2024 4

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.

luanfujun avatar luanfujun commented on June 9, 2024

Can you try require cutorch in torch? To ensure that cutorch is installed properly.

from deep-photo-styletransfer.

Milaine avatar Milaine commented on June 9, 2024

Trying your method I have encountered this issue BVLC/caffe#5123

from deep-photo-styletransfer.

liangpengfei avatar liangpengfei commented on June 9, 2024

@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.

Milaine avatar Milaine commented on June 9, 2024

@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.

GeorgySerga avatar GeorgySerga commented on June 9, 2024
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)

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.