bbbbbrie/xenial-pytorch-container:latest
$ singularity pull shub://bbbbbrie/xenial-pytorch-container:latest
Singularity Recipe
BootStrap: debootstrap
OSVersion: xenial
MirrorURL: http://us.archive.ubuntu.com/ubuntu/
%runscript
python3 /opt/main.py
%post
echo "Hello from inside the container"
sed -i 's/$/ universe/' /etc/apt/sources.list
touch /usr/bin/nvidia-smi
apt-get -y update
apt-get -y --force-yes install blender fortune libxv1 libx11-6 lolcat python3 python3-pip python3-tk wget
pip3 install --upgrade pip
pip3 install gym jupyter lmdb matplotlib numpy pandas scipy six tqdm
pip3 install http://download.pytorch.org/whl/cu80/torch-0.3.1-cp35-cp35m-linux_x86_64.whl
pip3 install torch torchvision
/usr/games/lolcat /etc/lsb-release
/usr/games/fortune | /usr/games/lolcat
wget -O /opt/main.py https://raw.githubusercontent.com/pytorch/examples/master/mnist/main.py
Collection
- Name: bbbbbrie/xenial-pytorch-container
- License: None
View on Datalad
Metrics
key | value |
---|---|
id | /containers/bbbbbrie-xenial-pytorch-container-latest |
collection name | bbbbbrie/xenial-pytorch-container |
branch | master |
tag | latest |
commit | 1003d9b59fd498e89866d187fc315819142b7d7a |
version (container hash) | 6e93ba0ec20bdb577d4331917b634c3b |
build date | 2019-11-04T15:14:17.062Z |
size (MB) | 2765 |
size (bytes) | 1364459551 |
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.