Code Monkey home page Code Monkey logo

Comments (8)

DeltaDesignRus avatar DeltaDesignRus commented on July 21, 2024

How do I install without GPU?
Windows 10 x64

from style-transfer.

fzliu avatar fzliu commented on July 21, 2024

The main requirement for the code here is Caffe - if you can get the Windows version working, then this will work too.

from style-transfer.

piaobuliao avatar piaobuliao commented on July 21, 2024

it works on windows 8_64bit

from style-transfer.

nikAleksandr avatar nikAleksandr commented on July 21, 2024

Windows doesn't work with GPU at all?

from style-transfer.

GuoShi28 avatar GuoShi28 commented on July 21, 2024

caffe now can be compiled in windows with GPU.

from style-transfer.

Xizario avatar Xizario commented on July 21, 2024

I finally got it with python 2.7.13 on windows 10 64bit.
But it can work only with PNG files, and not with JPG, since Pillow, used by Caffe is not fully supported in windows.

  1. Remove all installed python related things.
  2. Install Miniconda for python 2.7 into C:\Miniconda-x64 . Does not work with 3.5.
  3. Install VS 2015 (in the installation select C++ tools). Does not work with Community, not sure why.
  4. Clone caffe, and checkout windows branch.
  5. Install CMake
  6. Install Ninja
  7. Install all packages in the caffe that are related to python, and run build_win.cmd
  8. clone style-transfer
  9. download the related models.
  10. Remove the stderr overrides to see if something goes wrong.
  11. Run "python style.py" with the required parameters. If some modules are missing, run conda install these packages. It will say they need to downgrade other related packages. Choose "yes" (After this step, the style will run correct, but you will not able to build the caffe again)
  12. Use PNG, since JPG will not work.

GPU does not work, so prepare for big waiting.

I will try to compile the whole pile of open-source package hell, and post it somewhere ready for simple windows click and run usage, some upcoming weekend.

from style-transfer.

irbian avatar irbian commented on July 21, 2024

@Xizario did you were able to compile it on windows? and make it work on GPU?

from style-transfer.

Xizario avatar Xizario commented on July 21, 2024

@irbian, I was not able to make the GPU running, so there was not point in creating a single package.

from style-transfer.

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.