fix matplotlib version

This commit is contained in:
Fangjun Kuang 2025-01-02 10:50:58 +08:00
parent c02de32538
commit 53350d1208
3 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,7 @@ RUN pip install --no-cache-dir \
kaldifst \ kaldifst \
kaldilm \ kaldilm \
librosa \ librosa \
matplotlib \ "matplotlib<=3.9.4" \
multi_quantization \ multi_quantization \
numba \ numba \
"numpy<2.0" \ "numpy<2.0" \

View File

@ -70,6 +70,8 @@ jobs:
cd /icefall cd /icefall
git config --global --add safe.directory /icefall git config --global --add safe.directory /icefall
pip install "matplotlib<=3.9.4"
pip list pip list
.github/scripts/ljspeech/TTS/run-matcha.sh .github/scripts/ljspeech/TTS/run-matcha.sh

View File

@ -90,7 +90,7 @@ def intersperse(sequence, item=0):
# from https://github.com/jaywalnut310/vits/blob/main/utils.py # from https://github.com/jaywalnut310/vits/blob/main/utils.py
MATPLOTLIB_FLAG = True MATPLOTLIB_FLAG = False
def plot_feature(spectrogram): def plot_feature(spectrogram):