forked from MIC-DKFZ/nnUNet
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bc504d
commit 34ce4b2
Showing
1 changed file
with
17 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,17 @@ | ||
# Contains pytorch, torchvision, cuda, cudnn | ||
FROM nvcr.io/nvidia/pytorch:23.06-py3 | ||
MAINTAINER Pedro M. Gordaliza @petermcgor | ||
|
||
#nnUnet is set up by default to look at the following dir. I mantain them for reproducibility | ||
ARG resources="/opt/nnunet_resources" | ||
ENV nnUNet_raw=$resources"/nnUNet_raw" nnUNet_preprocessed=$resources"/nnUNet_preprocessed" nnUNet_results=$resources"/nnUNet_results" | ||
|
||
#Copy the files. TODO change to git clone https://github.com/PeterMcGor/nnUNet.git once the repo is tested the repo is tested | ||
RUN mkdir /nnunet | ||
WORKDIR /nnunet | ||
COPY . . | ||
|
||
## Install nnunet | ||
RUN pip install -e . | ||
## hiddenlayers for topologies | ||
RUN pip install --upgrade git+https://github.com/FabianIsensee/hiddenlayer.git |