forked from junyanz/pytorch-CycleGAN-and-pix2pix
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Dockerfile to set python3 as default, following suggestion of @arbrog junyanz#666 (comment)
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM nvidia/cuda:9.0-base | ||
FROM nvidia/cuda:10.1-base | ||
|
||
RUN apt update && apt install -y wget unzip curl bzip2 git | ||
RUN curl -LO http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh | ||
RUN bash Miniconda-latest-Linux-x86_64.sh -p /miniconda -b | ||
RUN rm Miniconda-latest-Linux-x86_64.sh | ||
RUN curl -LO http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh | ||
RUN bash Miniconda3-latest-Linux-x86_64.sh -p /miniconda -b | ||
RUN rm Miniconda3-latest-Linux-x86_64.sh | ||
ENV PATH=/miniconda/bin:${PATH} | ||
RUN conda update -y conda | ||
|
||
RUN conda install -y pytorch torchvision -c pytorch | ||
RUN mkdir /workspace/ && cd /workspace/ && git clone https://github.com/junyanz/pytorch-CycleGAN-and-pix2pix.git && cd pytorch-CycleGAN-and-pix2pix && pip install -r requirements.txt | ||
|
||
WORKDIR /workspace | ||
WORKDIR /workspace |