MONAI Label
These steps follow this guide: https://docs.monai.io/projects/label/en/latest/installation.html#downloading-sample-apps-or-datasets
Download Sample Apps or Datasets
MONAI Label’s location should be in ~/.local/monailabel/. Here, there should be a sample-apps folder with different apps MONAI Label can use to segment. These apps are explained here and some more experimental apps are here. List these apps and add them individually to the working directory using this:
monailabel apps # List sample apps
monailabel apps --download --name deepedit --output apps # Using deepedit as an example
Note
If monailabel install path is not automatically determined, then you can provide explicit install path by adding --prefix ~/.local:
monailabel apps --prefix ~/.local
monailabel apps --prefix ~/.local --download --name deepedit --output apps
Download MSD Datasets to local directory (MSD datasets also available here):
monailabel datasets # List sample datasets
monailabel datasets --download --name Task09_Spleen --output datasets # Using Task09_Spleen as an example
Start the server
Go to the location with the apps and datasets folders and start the server using:
monailabel start_server --app apps/deepedit --studies datasets/Task09_Spleen/imagesTr
The server will be served by default at http://127.0.0.1:8000/. It uses Uvicorn, which is an ASGI server implementation using uvloop and httptools.