Last active
March 11, 2016 14:52
-
-
Save smison/12556d1fd62e06bf3e80 to your computer and use it in GitHub Desktop.
neural_doodle_memo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 必要ライブラリ導入 | |
pip3 install --upgrade pip | |
pip3 install numpy | |
pip3 install scipy | |
pip3 install scikit-image | |
pip3 install matplotlib | |
pip3 install theano | |
pip3 install lasagne | |
* neural_doodle導入 | |
git clone https://github.com/alexjc/neural-doodle.git | |
cd neural-doodle/ | |
* 下記をダウンロードして同フォルダに置く(19MB程度) | |
https://github.com/alexjc/neural-doodle/releases/download/v0.0/vgg19_conv.pkl.bz2 | |
* 環境構築(pyenvつくってるから上の操作の大半はいらないかも...) | |
python3 -m venv pyvenv --system-site-packages | |
source pyvenv/bin/activate | |
python3 -m pip install --ignore-installed -r requirements.txt | |
* 実行 | |
python3 doodle.py --style samples/Monet.jpg --output samples/Coastline.png --device=cpu --iterations=40 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment