Skip to content

Model Plan Blocks examples with Docker

Jaehong Kim edited this page Oct 18, 2015 · 2 revisions
  • Install Docker & CUDA 7.5.18 on HOST
docker run -it --device /dev/nvidiactl --device /dev/nvidia-uvm --device /dev/nvidia0 kaixhin/cuda-lasagne
  • On Docker Machine
# apt-get install python-dev libhdf5-dev python-numpy cython
# pip install git+git://github.com/mila-udem/blocks.git \
  -r https://raw.githubusercontent.com/mila-udem/blocks/stable/requirements.txt
# cd ~
# git clone https://github.com/mila-udem/blocks-examples.git
# cd blocks-examples
# python machine_translation/prepare_data.py  
# python -m machine_translation
Clone this wiki locally