File size: 788 Bytes
dae5c90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM nvidia/cuda:12.1.1-cudnn8-runtime-ubuntu22.04

RUN apt-get update && apt-get install -y \

    python3.10 python3-pip python3.10-venv dos2unix ffmpeg libsm6 libxext6 \
    && ln -sf python3.10 /usr/bin/python3 \
    && pip3 install --upgrade pip 

WORKDIR /melanoma-classification

RUN pip install torch==2.2.0+cu121 torchvision==0.17.0+cu121 torchaudio==2.2.0+cu121 \

    -f https://download.pytorch.org/whl/torch_stable.html

RUN pip install timm==0.6.13 \

    tensorboardX six \
    numpy==1.26.4 \
    submitit \
    fairlearn \
    kneed \
    torchsampler \
    tqdm \
    opencv-python \
    seaborn \
    onnx \
    onnxruntime \
    pandas

COPY ../ /melanoma-classification

RUN find . -type f -name "*.sh" -exec dos2unix {} \;
CMD ["/bin/bash"]