TypeError: expected str, bytes or os.PathLike object, not NoneType
Traceback (most recent call last):
File "/mnt/projects/Vivyadubs/spanish_tts/XTTS-v2-argentinian-spanish/test_ar_spanish.py", line 7, in
model.load_checkpoint(config,checkpoint_path='/mnt/projects/Vivyadubs/spanish_tts/XTTS-v2-argentinian-spanish', eval=True, vocab_path="/mnt/projects/Vivyadubs/spanish_tts/XTTS-v2-argentinian-spanish")
File "/mnt/vl_dirs/vivyadub/lib/python3.9/site-packages/TTS/tts/models/xtts.py", line 759, in load_checkpoint
speaker_file_path = speaker_file_path or os.path.join(checkpoint_dir, "speakers_xtts.pth")
File "/usr/lib/python3.9/posixpath.py", line 76, in join
a = os.fspath(a)
TypeError: expected str, bytes or os.PathLike object, not NoneType
I'm getting error in the below line
model.load_checkpoint(config,checkpoint_path='XTTS-v2-argentinian-spanish', eval=True, vocab_path="XTTS-v2-argentinian-spanish")
but there is no parameter speaker_file_path in this model call function. And doesn't have the speakers_xtts.pth file in the cloned folder.
can you please help for this issue and it would be Appreciable.
And one more thing, may I know about this model exact name in TTS.api to call directly from there itself.