forked from lucasgris/wav2vec4bp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
25 lines (18 loc) · 834 Bytes
/
Dockerfile
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
FROM flml/flashlight:cuda-6954048
RUN apt-get update
# Install dependency
RUN apt-get install -y ffmpeg sox libsox-fmt-mp3 psmisc
RUN python3 -m pip install packaging
RUN python3 -m pip install torch==1.8.1+cu111 torchvision==0.9.1+cu111 torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html
RUN python3 -m pip install gdown
WORKDIR /root/flashlight/bindings/python
RUN python3 setup.py install
# hugging face
RUN python3 -m pip install librosa transformers==4.6.1 datasets==1.7.0 jiwer packaging PyYAML tensorboard tensorboardX torch-audiomentations audiomentations pydub
WORKDIR /workspace/
RUN git clone https://github.com/pytorch/fairseq
WORKDIR /workspace/fairseq
RUN pip install --editable ./
WORKDIR /workspace/
RUN git clone https://github.com/lucasgris/wav2vec4bp.git
WORKDIR /workspace/wav2vec4bp