mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
parent
f86c24d806
commit
65da3e3752
@ -8,6 +8,8 @@
|
||||
[](https://github.com/open-mmlab/mmsegmentation/actions)
|
||||
[](https://codecov.io/gh/open-mmlab/mmsegmentation)
|
||||
[](https://github.com/open-mmlab/mmsegmentation/blob/master/LICENSE)
|
||||
[](https://github.com/open-mmlab/mmsegmentation/issues)
|
||||
[](https://github.com/open-mmlab/mmsegmentation/issues)
|
||||
|
||||
Documentation: https://mmsegmentation.readthedocs.io/
|
||||
|
||||
@ -16,7 +18,7 @@ Documentation: https://mmsegmentation.readthedocs.io/
|
||||
MMSegmentation is an open source semantic segmentation toolbox based on PyTorch.
|
||||
It is a part of the OpenMMLab project.
|
||||
|
||||
The master branch works with **PyTorch 1.3 to 1.5**.
|
||||
The master branch works with **PyTorch 1.3 to 1.6**.
|
||||
|
||||

|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
ARG PYTORCH="1.5"
|
||||
ARG PYTORCH="1.6.0"
|
||||
ARG CUDA="10.1"
|
||||
ARG CUDNN="7"
|
||||
|
||||
@ -8,13 +8,14 @@ ENV TORCH_CUDA_ARCH_LIST="6.0 6.1 7.0+PTX"
|
||||
ENV TORCH_NVCC_FLAGS="-Xfatbin -compress-all"
|
||||
ENV CMAKE_PREFIX_PATH="$(dirname $(which conda))/../"
|
||||
|
||||
RUN apt-get update && apt-get install -y libglib2.0-0 libsm6 libxrender-dev libxext6 \
|
||||
RUN apt-get update && apt-get install -y git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install mmsegmentation
|
||||
RUN conda clean --all
|
||||
RUN pip install mmcv-full==latest+torch1.5.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html
|
||||
|
||||
RUN pip install mmcv-full==latest+torch1.6.0+cu101 -f https://download.openmmlab.com/mmcv/dist/index.html
|
||||
RUN git clone https://github.com/open-mmlab/mmsegmenation.git /mmsegmentation
|
||||
WORKDIR /mmsegmentation
|
||||
RUN pip install -r requirements/build.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user