After the configuration file of the Tacotron 2 model downloaded from the master branch of MindSpore open-source Gitee is modified and then uploaded to ModelArts for training, error message "No module name 'unidecode'" is displayed in logs.
The Unidecode name of the requirements.txt file is incorrect, where U should be lowercase. As a result, the Unidecode module is not installed in the training job environment.
Change Unidecode in requirements.txt to unidecode.
Add the following line to the training code:
os.system('pip list')
Run the training job and check whether the required module is available in logs.