For MOS prediction of Utilizing Self-supervised Representations for MOS Prediction, we asked the authors for the code, but since the code is not yet publicly released, we could not provide it here. To get the code, please contact its authors.
- Install speechmetrics for MOSNet:
git clone https://github.com/aliutkus/speechmetrics.git
cd speechmetrics
# bash
pip install -e .[gpu]
# zsh
pip install -e .\[gpu\]
- Download Pytorch_MBNet for MBNet:
git clone https://github.com/sky1456723/Pytorch-MBNet.git
- Fix paths and configurations in
config.py
- Prepare output directories
mkdir -p npy/LibriTTS
mkdir -p npy/VCTK
mkdir -p csv/LibriTTS
mkdir -p csv/VCTK
python compare_mos.py --net <mosnet/mbnet>