---
# System prepended metadata

title: MMSegmentation Installation Docker Ubuntu 20.04

---

# MMSegmentation Installation Docker Ubuntu 20.04

```bash 
nvidia-docker run -it  --shm-size=8G --name  openmmlab \
    -v /home/jupyter/mahmood:/home/mahmood \
    mosaicml/pytorch:1.13.1_cu117-python3.10-ubuntu20.04
```

## Run these commands inside of the docker container now
```bash
pip install -U openmim
mim install mmcv-full
```

```bash
pip install --upgrade pip wheel setuptools
```

```bash
git clone https://github.com/open-mmlab/mmsegmentation.git
cd mmsegmentation
pip install -v -e .
# "-v" means verbose, or more output
# "-e" means installing a project in editable mode,
# thus any local modifications made to the code will take effect without reinstallation.
```

## Then you may test installation as provided in this link
https://github.com/open-mmlab/mmsegmentation/blob/master/docs/en/get_started.md#installation


## Links
https://github.com/pypa/setuptools/issues/3772
https://hub.docker.com/r/mosaicml/pytorch


<!-- 
nvidia-docker run -it  --shm-size=6G --name  pixelssl \
    -v /media/hdd/mahmood:/home/mahmood \
    pytorch/pytorch:1.0-cuda10.0-cudnn7-runtime
 
-->