Dockerfile 575 Bytes
Newer Older
Hang Zhang's avatar
Hang Zhang committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM nvcr.io/nvidia/pytorch:19.05-py3

# 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
RUN python -m pip install torch==1.4.0
RUN python -m pip install torchvision==0.5.0
RUN python -m pip install pycocotools==2.0.0

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

COPY ./setup.py .
COPY ./encoding ./encoding
RUN python setup.py develop

COPY ./experiments ./experiments