ResearchIT/singularity-keras:2
$ singularity pull shub://ResearchIT/singularity-keras:2
Singularity Recipe
Bootstrap:docker
From:nvidia/cuda:9.0-cudnn7-devel-centos7
%environment
export KERAS_BACKEND=tensorflow
export PATH=/usr/local/cuda/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
%post
yum update -y
yum install -y @"Development Tools"
yum install -y epel-release
yum install -y libgomp cmake3 vim cuda-9.0 cuda-drivers xorg-x11-drv-nvidia-cuda
yum install -y git gcc-c++ sudo curl openblas lapack python36 wget python-devel python36-devel R-core R-devel R-Rcpp R-Rcpp-devel openssl-devel curl-devel
wget https://bootstrap.pypa.io/get-pip.py
python36 get-pip.py
python2 get-pip.py
python36 -m pip install tensorflow-gpu
python36 -m pip install keras pillow
python2 -m pip install tensorflow-gpu
python2 -m pip install keras pillow
R --no-save <<EOL
install.packages("pkgbuild", repos="https://mirror.las.iastate.edu/CRAN")
install.packages("devtools", repos="https://mirror.las.iastate.edu/CRAN")
library(devtools)
devtools::install_github("rstudio/tensorflow")
library(tensorflow)
devtools::install_github("rstudio/keras")
library(keras)
EOL
%runscript
exec $@
Collection
- Name: ResearchIT/singularity-keras
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/ResearchIT-singularity-keras-2 |
collection name | ResearchIT/singularity-keras |
branch | master |
tag | 2 |
commit | 759d746e3c79087d0f878a5c2e8e684bf6557011 |
version (container hash) | 2bb629c06b6b604c475ff68546aea7ed |
build date | 2018-07-18T23:19:18.884Z |
size (MB) | 7023 |
size (bytes) | 3139608607 |
SIF | Download URL (please use pull with shub://) |
Datalad URL | View on Datalad |
Singularity Recipe | Singularity Recipe on Datalad |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.