Docker images for using torch-rnn (https://github.com/jcjohnson/torch-rnn)
crisbal/torch-rnn:base
ubuntu:14.04crisbal/torch-rnn:cuda6.5
nvidia/cuda:6.5crisbal/torch-rnn:cuda7.5
nvidia/cuda:7.5More details here: https://github.com/jcjohnson/torch-rnn#usage
Start bash in the container
docker run --rm -ti crisbal/torch-rnn:base bashPreprocess the sample data
python scripts/preprocess.py \
--input_txt data/tiny-shakespeare.txt \
--output_h5 data/tiny-shakespeare.h5 \
--output_json data/tiny-shakespeare.json
Train
th train.lua \
-input_h5 data/tiny-shakespeare.h5 \
-input_json data/tiny-shakespeare.json \
-gpu -1
Sample
th sample.lua -checkpoint cv/checkpoint_10000.t7 -length 2000 -gpu -1Install nvidia-docker
Start bash in the container
nvidia-docker run --rm -ti crisbal/torch-rnn:cuda7.5 bashPreprocess the sample data
python scripts/preprocess.py \
--input_txt data/tiny-shakespeare.txt \
--output_h5 data/tiny-shakespeare.h5 \
--output_json data/tiny-shakespeare.json
Train
th train.lua \
-input_h5 data/tiny-shakespeare.h5 \
-input_json data/tiny-shakespeare.json
Sample
th sample.lua -checkpoint cv/checkpoint_10000.t7 -length 2000Content type
Image
Digest
Size
1.1 GB
Last updated
about 10 years ago
docker pull crisbal/torch-rnn:cuda7.5