forked from taylanates24/object-detection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
54 lines (41 loc) · 1.07 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
FROM nvcr.io/nvidia/pytorch:22.12-py3
ENV DEBIAN_FRONTEND=noninteractive
ENV MPLBACKEND=agg
RUN apt-get update && \
apt-get install -y \
git \
wget \
unzip \
vim \
zip \
curl \
yasm \
pkg-config \
nano \
tzdata \
ffmpeg \
libgtk2.0-dev \
libgl1-mesa-glx && \
rm -rf /var/cache/apk/*
RUN pip install --upgrade pip
RUN pip --no-cache-dir install \
Cython==0.29.21
RUN pip --no-cache-dir install -U 'git+https://github.com/cocodataset/cocoapi.git#subdirectory=PythonAPI'
RUN pip --no-cache-dir install \
numpy \
matplotlib \
tqdm \
imageio \
pillow \
opencv-contrib-python \
tensorboard \
pyyaml \
neptune-client
RUN pip install timm
RUN git clone https://github.com/rwightman/pytorch-image-models.git && cd pytorch-image-models && pip install -e .
RUN ln -sf /usr/share/zoneinfo/Turkey /etc/localtime
RUN pip install imgaug
RUN pip install seaborn>=0.11.0
RUN pip install pytorch-lightning
RUN pip3 install tensorboardX
WORKDIR /workspace