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 \
kaldilm \
librosa \
matplotlib \
"matplotlib<=3.9.4" \
multi_quantization \
numba \
"numpy<2.0" \

View File

@ -70,6 +70,8 @@ jobs:
cd /icefall
git config --global --add safe.directory /icefall
pip install "matplotlib<=3.9.4"
pip list
.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
MATPLOTLIB_FLAG = True
MATPLOTLIB_FLAG = False
def plot_feature(spectrogram):