style-transfer icon indicating copy to clipboard operation
style-transfer copied to clipboard

Windows

Open DeltaDesignRus opened this issue 8 years ago • 8 comments

It works on windows?

DeltaDesignRus avatar May 17 '16 13:05 DeltaDesignRus

How do I install without GPU? Windows 10 x64

DeltaDesignRus avatar May 17 '16 13:05 DeltaDesignRus

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

fzliu avatar May 23 '16 20:05 fzliu

it works on windows 8_64bit

piaobuliao avatar May 26 '16 15:05 piaobuliao

Windows doesn't work with GPU at all?

nikAleksandr avatar Dec 20 '16 23:12 nikAleksandr

caffe now can be compiled in windows with GPU.

GuoShi28 avatar Mar 23 '17 14:03 GuoShi28

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.

Xizario avatar Apr 12 '17 09:04 Xizario

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

irbian avatar Nov 05 '17 22:11 irbian

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

Xizario avatar Nov 06 '17 06:11 Xizario