[[FrontPage]] * AWSでchainer. [#f13d27b0] EC2のGPUインスタンスにChainerを5行で入れて4行で動かす http://sla.hatenablog.com/entry/chainer_on_ec2 $ echo 'export PATH=/opt/nvidia/cuda/bin:$PATH' >> .bash_profile $ echo 'export LD_LIBRARY_PATH=/opt/nvidia/cuda/lib64:$LD_LIBRARY_PATH' >> .bash_profile $ source .bash_profile $ pip install --user chainer $ pip install --user --upgrade chainer-cuda-deps --- $ wget https://github.com/pfnet/chainer/archive/v1.1.2.tar.gz $ tar zxvf v1.1.2.tar.gz $ cd chainer-1.1.2/examples/mnist/ $ python train_mnist.py --gpu 0 ** caffemodel: VGG_ILSVRC_16_layers [#hb98049a] caffemodel_url: wget http://www.robots.ox.ac.uk/~vgg/software/very_deep/caffe/VGG_ILSVRC_16_layers.caffemodel git clone https://github.com/peace098beat/chainer-hikaru.git sudo yum install git ** cupyのインストール [#b31ae6e3] Command "/usr/bin/python2.7 -u -c "import setuptools, tokenize;__file__ ='/tmp/pip - build-9Cskqv/cupy/setup.py';exec(compile(getattr(tokenize, 'open', open) (__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-JY36jN- record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-9Cskqv/cupy/ * Linuxコマンド [#e104c7ea] - free, ps, top - echo $SHELL