-
Notifications
You must be signed in to change notification settings - Fork 0
/
acar.Dockerfile
53 lines (47 loc) · 1.52 KB
/
acar.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
FROM pure/python:3.8-cuda10.2-base
WORKDIR /project
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A4B469963BF863CC
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y \
gcc \
git \
ffmpeg \
libsm6 \
libxext6 \
gfortran \
libopenblas-dev \
liblapack-dev
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN python3 -m pip install pip --upgrade
RUN pip install \
numpy \
simplejson \
PyYAML \
psutil \
opencv-python \
tensorboard \
yacs>=0.1.6 \
matplotlib \
termcolor \
pandas \
sklearn \
Pillow \
av \
wandb \
ffmpeg \
moviepy \
'iopath<0.1.9,>=0.1.7' \
'tqdm>=4.29.0'
# RUN pip install --pre 'torch==1.10.0.dev20210921+cu111' -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html
# RUN pip install torch==1.10.0+cu111 -f https://download.pytorch.org/whl/cu111/torch_stable.html
# RUN pip install pytorchvideo
# RUN pip install torch pytorchvideo torchvision
# RUN pip install --pre 'torchvision==0.11.0.dev2021092+cu111' -f https://download.pytorch.org/whl/nightly/cu111/torch_nightly.html
# RUN pip install torchvision==0.11.0+cu111 -f https://download.pytorch.org/whl/cu111/torch_stable.html
RUN pip install torch==1.10.0+cu111 torchvision==0.11.0+cu111 pytorchvideo -f https://download.pytorch.org/whl/cu111/torch_stable.html
RUN pip install easydict tensorboardx
RUN wandb login 9b560c595c76ce65d70e4a61c9b5c0e3e0fb8750
WORKDIR /project/ACAR-Net
# python3 ./main.py --config configs/ROAD/SLOWFAST_R50_ACAR_HR2O.yaml