"examples/vscode:/vscode.git/clone" did not exist on "33597e5a65db7ebb3c3d9caf3851a4dc8e239bc5"
Unverified Commit e0aa7ce8 authored by Joni Airaksinen's avatar Joni Airaksinen Committed by GitHub
Browse files

Add PGD to Docker image (#1070)

Copy the repository in the Dockerfile instead of cloning. This makes it
possible to work with latest modifications, such as PGD in the dev branch,
and also network bandwith does not get wasted.
parent 74313322
...@@ -19,7 +19,7 @@ RUN pip install mmsegmentation==0.18.0 ...@@ -19,7 +19,7 @@ RUN pip install mmsegmentation==0.18.0
# Install MMDetection3D # Install MMDetection3D
RUN conda clean --all RUN conda clean --all
RUN git clone https://github.com/open-mmlab/mmdetection3d.git /mmdetection3d COPY . /mmdetection3d
WORKDIR /mmdetection3d WORKDIR /mmdetection3d
ENV FORCE_CUDA="1" ENV FORCE_CUDA="1"
RUN pip install -r requirements/build.txt RUN pip install -r requirements/build.txt
......
...@@ -169,7 +169,7 @@ We provide a [Dockerfile](https://github.com/open-mmlab/mmdetection3d/blob/maste ...@@ -169,7 +169,7 @@ We provide a [Dockerfile](https://github.com/open-mmlab/mmdetection3d/blob/maste
```shell ```shell
# build an image with PyTorch 1.6, CUDA 10.1 # build an image with PyTorch 1.6, CUDA 10.1
docker build -t mmdetection3d docker/ docker build -t mmdetection3d -f docker/Dockerfile .
``` ```
Run it with Run it with
......
...@@ -16,3 +16,4 @@ Import: ...@@ -16,3 +16,4 @@ Import:
- configs/votenet/metafile.yml - configs/votenet/metafile.yml
- configs/fcos3d/metafile.yml - configs/fcos3d/metafile.yml
- configs/imvoxelnet/metafile.yml - configs/imvoxelnet/metafile.yml
- configs/pgd/metafile.yml
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment