sinzlab/pytorch-singularity:v3.8-torch1.5.0-dj0.12.4

$ singularity pull shub://sinzlab/pytorch-singularity:v3.8-torch1.5.0-dj0.12.4

Singularity Recipe

BootStrap: library
From: ubuntu:20.04

%labels
MAINTAINER Christoph Blessing <chris24.blessing@gmail.com>

%post
    apt update && apt install -y software-properties-common
    add-apt-repository universe

    apt update && apt install -y \
        build-essential \
        git \
        wget \
        vim \
        curl \
        zip \
        zlib1g-dev \
        unzip \
        pkg-config \
        libblas-dev \
        liblapack-dev \
        python3-tk \
        python3-wheel \
        graphviz \
        libhdf5-dev \
        python3.8 \
        python3.8-dev \
        python3.8-distutils \
        swig
    apt-get clean

    ln -s /usr/bin/python3.8 /usr/local/bin/python
    ln -s /usr/bin/python3.8 /usr/local/bin/python3

    curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
    python3.8 get-pip.py
    rm get-pip.py

    python3.8 -m pip --no-cache-dir install \
        blackcellmagic\
        pytest \
        pytest-cov \
        numpy \
        matplotlib \
        scipy \
        pandas \
        jupyter \
        scikit-learn \
        scikit-image \
        seaborn \
        graphviz \
        gpustat \
        h5py \
        gitpython \
        Pillow==6.2.0 \
        torch==1.5.0 \
        torchvision==0.6.0 \
        jupyterlab \
        datajoint==0.12.4

%environment
    export SHELL=/bin/sh

%runscript
    jupyter lab

Collection


View on Datalad

Metrics

key value
id /containers/sinzlab-pytorch-singularity-v3.8-torch1.5.0-dj0.12.4
collection name sinzlab/pytorch-singularity
branch main
tag v3.8-torch1.5.0-dj0.12.4
commit 68ad66e0044fe38ea9511adbe006a3d4dcf417b0
version (container hash) 2d8a2780b76d7d9004c72f3326a47bfab1ad7b3177a41ad6232ea1ed72171c60
build date 2021-04-01T13:22:08.492Z
size (MB) 1121.45703125
size (bytes) 1175932928
SIF Download URL (please use pull with shub://)
Datalad URL View on Datalad
Singularity Recipe Singularity Recipe on Datalad
We cannot guarantee that all containers will still exist on GitHub.