reidddd commited on
Commit
fdc1a2e
·
1 Parent(s): 67677eb

update import detectron2

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -15
Dockerfile CHANGED
@@ -19,22 +19,7 @@ RUN apt-get update && apt-get install -y \
19
  python3-opencv ca-certificates python3-dev git wget sudo ninja-build
20
  RUN ln -sv /usr/bin/python3 /usr/bin/python
21
 
22
- # create a non-root user
23
- ARG USER_ID=1000
24
- RUN useradd -m --no-log-init --system --uid ${USER_ID} user -g sudo
25
- RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
26
- USER user
27
- WORKDIR /home/user
28
-
29
- ENV PATH="/home/user/.local/bin:${PATH}"
30
- RUN wget https://bootstrap.pypa.io/pip/3.6/get-pip.py && \
31
- python3 get-pip.py --user && \
32
- rm get-pip.py
33
-
34
- # install dependencies
35
- # See https://pytorch.org/ for other options if you use a different version of CUDA
36
  RUN pip install --user tensorboard cmake onnx
37
-
38
  RUN pip install --user 'git+https://github.com/facebookresearch/fvcore'
39
  RUN git clone https://github.com/facebookresearch/detectron2 detectron2_repo
40
  ENV FORCE_CUDA="1"
 
19
  python3-opencv ca-certificates python3-dev git wget sudo ninja-build
20
  RUN ln -sv /usr/bin/python3 /usr/bin/python
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  RUN pip install --user tensorboard cmake onnx
 
23
  RUN pip install --user 'git+https://github.com/facebookresearch/fvcore'
24
  RUN git clone https://github.com/facebookresearch/detectron2 detectron2_repo
25
  ENV FORCE_CUDA="1"