-
Notifications
You must be signed in to change notification settings - Fork 4
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
- Cuda Download / Cuda Documentation 설치시 Document를 꼭 봅시다.
- Run Docker Machine ( More Info : https://hub.docker.com/r/kaixhin/cuda-lasagne/ )
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