-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker build -t encoding . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
docker run --rm -it --ulimit memlock=-1 --ulimit stack=67108864 -v $COCO_DIR:/coco --ipc=host --gpus=all encoding |