Error Message "No module name 'unidecode'" Displayed in Logs
Symptom
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.
Possible Causes
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.
Solution
Change Unidecode in requirements.txt to unidecode.
Summary and Suggestions
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot