Dockerfile 597 Bytes
Newer Older
Hang Zhang's avatar
Hang Zhang committed
1
FROM nvcr.io/nvidia/pytorch:20.06-py3
Hang Zhang's avatar
Hang Zhang committed
2
3
4
5
6
7
8
9
10

# Set working directory	# Set working directory
WORKDIR /workspace

#ENV PYTHONPATH "${PYTHONPATH}:/workspace"

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-tk python-pip git tmux htop tree

RUN python -m pip install --upgrade pip
Hang Zhang's avatar
Hang Zhang committed
11
12
#RUN python -m pip install torch==1.4.0
#RUN python -m pip install torchvision==0.5.0
Hang Zhang's avatar
Hang Zhang committed
13
14
15
16
17
18
RUN python -m pip install pycocotools==2.0.0

#RUN chmod a+rwx -R /opt/conda/

COPY ./setup.py .
COPY ./encoding ./encoding
Hang Zhang's avatar
Hang Zhang committed
19
20

ENV FORCE_CUDA="1"
Hang Zhang's avatar
Hang Zhang committed
21
22
23
RUN python setup.py develop

COPY ./experiments ./experiments