Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile does not install mmcv-full #3300

Closed
namheegordonkim opened this issue Jul 13, 2020 · 2 comments · Fixed by #3320
Closed

Dockerfile does not install mmcv-full #3300

namheegordonkim opened this issue Jul 13, 2020 · 2 comments · Fixed by #3320
Assignees

Comments

@namheegordonkim
Copy link

See title. Current Dockerfile content is

ARG PYTORCH="1.5"
ARG CUDA="10.1"
ARG CUDNN="7"

FROM pytorch/pytorch:${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel

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 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6 \
    && apt-get clean \
    && rm -rf /var/lib/apt/lists/*

# Install mmdetection
RUN conda clean --all
RUN git clone https://github.com/open-mmlab/mmdetection.git /opt/program
WORKDIR /opt/program
ENV FORCE_CUDA="1"
RUN pip install cython --no-cache-dir
RUN pip install "git+https://github.com/open-mmlab/cocoapi.git#subdirectory=pycocotools"
RUN pip install --no-cache-dir -e .

As per the latest installation instructions, this line:

RUN pip install mmcv-full --no-cache-dir

should be included somewhere before the last one.

@xvjiarui
Copy link
Collaborator

Hi @namheegordonkim
Thanks for bringing this up. It will be fixed in #3320 .

liuhuiCNN pushed a commit to liuhuiCNN/mmdetection that referenced this issue May 21, 2021
@ganjbakhshali
Copy link

try these commands:
RUN git clone https://github.com/open-mmlab/mmcv.git
WORKDIR mmcv
RUN MMCV_WITH_OPS=1 pip install -e .

FANGAreNotGnu pushed a commit to FANGAreNotGnu/mmdetection that referenced this issue Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants