pfnet / PaintsChainer

line drawing colorization using chainer
https://paintschainer.preferred.tech/
MIT License
3.77k stars 556 forks source link

[Information] Requires Python 3.2-3.5 . Maybe 3.5 recommended. #8

Closed 6DammK9 closed 7 years ago

6DammK9 commented 7 years ago

If you have Python 2 only, you need to modify the scripts for the HTTP server. Include it into readme if you want. Cheers! ... (Copied from my own readme)

Requirement

If not specified, versions are assumed to be recent LTS version.

Installation Guide

Option: Docker user

If you have docker, you may check https://hub.docker.com/r/liamjones/paintschainer-docker/

Option: Fresh install

If not specified, follow instruction from their official website.

If you failed to perform the following steps, you will see this message. Uninstall chainer and install it again.

 Running command python setup.py egg_info
    Options: {'profile': False, 'annotate': False, 'linetrace': False, 'no_cuda': False}
    Include directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\include']
    Library directories: ['C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\bin', 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v8.0\\lib\\x64']
    Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
RikaKagurasaka commented 7 years ago

I'm wondering how to install OpenCV for python 3.5. Pip seems not available.

taizan commented 7 years ago

Thanks for comments. I ll update install guide later.

I used anaconda and conda install -c menpo opencv3 for openCV ( not normal alittle bit... ? )

RikaKagurasaka commented 7 years ago

Thanks. I'm looking forward to your guidance.

6DammK9 commented 7 years ago

Updated progress. Now downloading the 1.2G CUDA + 12GB VS2015 for Win 10 64...

6DammK9 commented 7 years ago

Update: Reinstalled chainer for multiple times with valid CUDA_PATH (CUDA 8.0 + VS 2015 installed), same error pops out. Not sure why is happens with even os.path.exists(os.environ["CUDA_PATH"]) returns true. Will try @liamjones solution mentioned in issue #7 .

sdygt commented 7 years ago

@RikaSugisawa You can use prebuilt cv2 for Python3 here (Thanks @solring in #9 )

6DammK9 commented 7 years ago

Finally managed to open the server. This topic may be closed. Created a pull request for readme, Since it is kinda long so please decide where to put the information.

taizan commented 7 years ago

thanks for your a pull request