AIGC-Audio / AudioGPT

AudioGPT: Understanding and Generating Speech, Music, Sound, and Talking Head
https://huggingface.co/spaces/AIGC-Audio/AudioGPT
Other
9.89k stars 845 forks source link

KeyError: binary_data_dir error when trying to launch #58

Open geekinchief22 opened 1 year ago

geekinchief22 commented 1 year ago

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'
clyders42 commented 1 year ago

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

adan1324 commented 1 year ago

I also find this problem

clyders42 commented 1 year ago

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

shadynasrat commented 1 year ago

my hair is falling here too, please help

tolerance-go commented 1 year ago

same here