run failed
when i run it use "python3 tts/infer_cli.py --input_wav 'assets/Chinese_prompt.wav' --input_text "另一边的桌上,一位读书人嗤之以鼻道,'佛子三藏,神子燕小鱼是什 么样的人物,李家的那个李子夜如何与他们相提并论?'" --output_dir ./gen", but get an error.I make sure have clone all fille.
Traceback (most recent call last):
File "/home/orangepi/tts/MegaTTS3/tts/infer_cli.py", line 275, in
infer_ins = MegaTTS3DiTInfer()
File "/home/orangepi/tts/MegaTTS3/tts/infer_cli.py", line 95, in init
self.build_model(self.device)
File "/home/orangepi/tts/MegaTTS3/tts/infer_cli.py", line 154, in build_model
raise RuntimeError(f"Failed to load G2P model from {self.g2p_exp_name}: {str(e)}")
RuntimeError: Failed to load G2P model from ./checkpoints/g2p: data did not match any variant of untagged enum ModelWrapper at line 912142 column 3
@toolsmanhehe This bug can be solved by update transformers to the latest version. Could you please tell me the version of your transformers currently so that we can help others to avoid this bug?