Coder Social home page Coder Social logo

monai-contained's Introduction

MonAI Label Container

Docker/Singularity image to run MonAI Label on a Centos 6.10 kernel

If you have used this work for a publication, you must acknowledge SIH, e.g: "The authors acknowledge the technical assistance provided by the Sydney Informatics Hub, a Core Research Facility of the University of Sydney."

Quickstart for Artemis

Put this repo on Artemis e.g.

cd /project/<YOUR_PROJECT>
git clone https://github.com/Sydney-Informatics-Hub/monai-contained.git

Then cd monai-contained and modify the run_artemis.pbs script and launch with qsub run_artemis.pbs.

Otherwise here are the full instructions for getting there....

How to recreate

Build with docker

Check out this repo then build the Docker file.

sudo docker build . -t sydneyinformaticshub/monailabel

Run with docker.

To run this, mounting your current host directory in the container directory, at /project, map port 8000 (the default port monai server is hosted on) and execute an interactive shell:

sudo docker run -it -v `pwd`:/project -p 8000:8000 --gpus all sydneyinformaticshub/monailabel /bin/bash

Push to docker hub

sudo docker push sydneyinformaticshub/monai

See the repo at https://hub.docker.com/r/sydneyinformaticshub/monai

Build with singularity

export SINGULARITY_CACHEDIR=`pwd`
export SINGULARITY_TMPDIR=`pwd`

singularity build monai.img docker://sydneyinformaticshub/monai

Run with singularity

To run the singularity image (noting singularity mounts the current folder by default)

singularity run --bind /project:/project monai.img /bin/bash -c "cd "$PBS_O_WORKDIR" && monailabel start_server --app pathology/ --studies images/"

monai-contained's People

Contributors

natbutter avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.