File tree Expand file tree Collapse file tree 4 files changed +23
-11
lines changed Expand file tree Collapse file tree 4 files changed +23
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Get base image
2
- FROM python:3.10.13 -slim-bookworm
2
+ FROM python:3.10.17 -slim-bookworm
3
3
4
4
# Set to install things in non-interactive mode
5
5
ENV DEBIAN_FRONTEND noninteractive
@@ -25,10 +25,12 @@ RUN apt-get update \
25
25
&& rm -r /var/lib/apt/lists/*
26
26
27
27
# Install necessary libraries for deepspeech v3
28
- RUN pip install --ignore-installed PyYAML torch==2.1.1 tensorflow==2.14.1 torchaudio==2.1.1 pytorch-lightning==2.1.2 scikit-learn==1.3.2
28
+ RUN pip install --ignore-installed torch==2.1.2 torchaudio==2.1.2 --index-url https://download.pytorch.org/whl/cpu
29
+ RUN pip install --ignore-installed --no-deps pytorch-lightning==2.1.2
30
+ RUN pip install --ignore-installed PyYAML tensorflow==2.14.1 scikit-learn==1.3.2
29
31
RUN pip install --no-build-isolation fairscale==0.4.13
30
32
31
- RUN git clone https://github.com/SeanNaren/deepspeech.pytorch.git && cd deepspeech.pytorch && sed -i '/^sklearn/d' requirements.txt && pip install -r requirements.txt && pip install -e .
33
+ RUN git clone https://github.com/SeanNaren/deepspeech.pytorch.git && cd deepspeech.pytorch && sed -i '/^sklearn/d;/^torch/d;/^torchaudio/d ' requirements.txt && pip install -r requirements.txt && pip install -e .
32
34
33
35
RUN pip install numba==0.56.4 pytest-cov==4.1.0 pydub==0.25.1
34
36
Original file line number Diff line number Diff line change 1
1
# Get base image
2
- FROM python:3.7 .17-slim-bookworm
2
+ FROM python:3.10 .17-slim-bookworm
3
3
4
4
# Set to install things in non-interactive mode
5
5
ENV DEBIAN_FRONTEND noninteractive
@@ -8,6 +8,10 @@ ENV DEBIAN_FRONTEND noninteractive
8
8
RUN apt-get update \
9
9
&& apt-get install -y \
10
10
build-essential \
11
+ gfortran \
12
+ libblas-dev \
13
+ liblapack-dev \
14
+ libatlas-base-dev \
11
15
libgl1-mesa-glx \
12
16
libx11-xcb1 \
13
17
git \
@@ -24,7 +28,10 @@ RUN apt-get update \
24
28
&& rm -r /var/lib/apt/lists/*
25
29
26
30
# Install necessary libraries for espresso
27
- RUN pip install torch==1.6.0 torchaudio==0.6.0 pytest-cov~=4.1.0 scipy==1.2 scikit-learn==0.24 protobuf==3.20 kaldiio==2.18.0 tensorflow==2.9
31
+ RUN pip install --upgrade pip setuptools wheel
32
+ RUN pip install --ignore-installed torch==1.11.0 torchaudio==0.11.0 --index-url https://download.pytorch.org/whl/cpu
33
+ RUN pip install numpy==1.21.6 scipy==1.9.3
34
+ RUN pip install pytest-cov~=4.1.0 scikit-learn==1.6.1 protobuf==3.20 kaldiio==2.18.0 tensorflow==2.9
28
35
RUN pip install --no-build-isolation fairscale==0.3.6
29
36
30
37
RUN git clone https://github.com/beat-buesser/espresso
Original file line number Diff line number Diff line change 1
1
# Get base image
2
- FROM python:3.8.19 -slim-bookworm
2
+ FROM python:3.10.17 -slim-bookworm
3
3
4
4
ENV MONO_TLS_PROVIDER=legacy
5
5
@@ -26,12 +26,14 @@ RUN apt-get update \
26
26
&& rm -r /var/lib/apt/lists/*
27
27
28
28
# Install necessary libraries for goturn
29
- RUN pip install torch==1.9.1 torchvision==0.10.1 tensorflow==2.9 scikit-learn==0.24 pytest~=6.2.5 pytest-cov~=4.1.0
29
+ RUN pip install --ignore-installed torch==1.11.0 torchaudio==0.11.0 torchvision==0.12.0 --index-url https://download.pytorch.org/whl/cpu
30
+ RUN pip install --ignore-installed --no-deps pytorch_lightning==0.7.1 torch_lr_finder==0.2.1 torchsummary==1.5.1
31
+ RUN pip install tensorflow==2.9 scikit-learn==1.6.1 pytest~=6.2.5 pytest-cov~=4.1.0
30
32
31
33
RUN git clone https://github.com/nrupatunga/goturn-pytorch.git /tmp/goturn-pytorch
32
34
# RUN cd /tmp/goturn-pytorch && pip install -r requirements.txt
33
- RUN pip install loguru==0.5.3 torchsummary==1.5.1 tqdm==4.62.3 pytorch_lightning==0.7.1 imutils==0.5.3 torch_lr_finder==0.2.1 numpy==1.21.6 Pillow==8.0.1 visdom==0.1.8.9 gdown==5.1.0
34
- RUN pip3 install opencv_python==4.9.0.80 --no-build-isolation
35
+ RUN pip install loguru==0.5.3 tqdm==4.62.3 imutils==0.5.3 numpy==1.21.6 Pillow==8.0.1 visdom==0.1.8.9 gdown==5.1.0
36
+ RUN pip install opencv_python==4.9.0.80 --no-build-isolation
35
37
36
38
ENV PYTHONPATH "${PYTHONPATH}:/tmp/goturn-pytorch/src"
37
39
ENV PYTHONPATH "${PYTHONPATH}:/tmp/goturn-pytorch/src/scripts"
Original file line number Diff line number Diff line change 1
1
# Get base image
2
- FROM python:3.9.19 -slim
2
+ FROM python:3.10.17 -slim-bookworm
3
3
4
4
# Install system wide software
5
5
RUN apt-get update \
@@ -20,7 +20,8 @@ RUN apt-get update \
20
20
&& apt-get clean all \
21
21
&& rm -r /var/lib/apt/lists/*
22
22
23
- RUN pip install pytorchyolo==1.8.0 tensorflow==2.14.1 scikit-learn==1.4.2 pytest-cov~=4.1.0 torch==1.12.1
23
+ RUN pip install --ignore-installed torch==1.12.1 --index-url https://download.pytorch.org/whl/cpu
24
+ RUN pip install pytorchyolo==1.8.0 tensorflow==2.14.1 scikit-learn==1.4.2 pytest-cov~=4.1.0
24
25
25
26
RUN cd /tmp/ && git clone https://github.com/eriklindernoren/PyTorch-YOLOv3.git && cd ./PyTorch-YOLOv3/weights && ./download_weights.sh
26
27
You can’t perform that action at this time.
0 commit comments