AIGC-Audio / AudioGPT

AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head

Home Page:https://huggingface.co/spaces/AIGC-Audio/AudioGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KeyError: binary_data_dir error when trying to launch

geekinchief22 opened this issue · comments

I installed all the files and even downloaded the whole repo from Hugging Face, but I get "KeyError: binary_data_dir" when I try to launch the pythons script.

C:\audiogpt2\NeuralSeq\inference\tts\base_tts_infer.py:20 in __init__                            │
│                                                                                                  │
│    17 │   │   │   device = 'cuda' if torch.cuda.is_available() else 'cpu'                        │
│    18 │   │   self.hparams = hparams                                                             │
│    19 │   │   self.device = device                                                               │
│ ❱  20 │   │   self.data_dir = hparams['binary_data_dir']                                         │
│    21 │   │   self.preprocessor, self.preprocess_args = load_data_preprocessor()                 │
│    22 │   │   self.ph_encoder, self.word_encoder = self.preprocessor.load_dict(self.data_dir)    │
│    23 │   │   self.ds_cls = FastSpeechWordDataset                                                │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
KeyError: 'binary_data_dir'

lol this is where im stuck too, chatgpt please, it cant give me the right answerrrrrrrrrr

commented

I also find this problem

has anyone figured this out, ive reached out to several people and used chatgpt till my hair is falling out and no fix.

my hair is falling here too, please help

commented

same here