Missing files.

#6
by OctagonInteractive - opened

checkpoint = torch.load(str(cached_path(f"hf://SWivid/F5-TTS/{exp_name}/model_{ckpt_step}.pt")), map_location=device)
Traceback (most recent call last):
File "D:\Projects_AI\E2-F5-TTS\app_local.py", line 93, in
F5TTS_ema_model, F5TTS_base_model = load_model("F5TTS_Base", DiT, F5TTS_model_cfg, 1200000)
File "D:\Projects_AI\E2-F5-TTS\app_local.py", line 65, in load_model
vocab_char_map, vocab_size = get_tokenizer("Emilia_ZH_EN", "pinyin")
File "D:\Projects_AI\E2-F5-TTS\model\utils.py", line 131, in get_tokenizer
with open(f"tokenizer/{tokenizer_name}_{tokenizer_type}.txt", "r", encoding="utf-8") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'tokenizer/Emilia_ZH_EN_pinyin.txt'

Hi,
It looks like you might be using modified code. Can you ensure that the code you're using is from the official GitHub repo or cloned from this Space?
Thanks!

Sign up or log in to comment