Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: binary_data_dir error when trying to launch #58

Open
geekinchief22 opened this issue May 4, 2023 · 5 comments
Open

KeyError: binary_data_dir error when trying to launch #58

geekinchief22 opened this issue May 4, 2023 · 5 comments

Comments

@geekinchief22
Copy link

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
Copy link

clyders42 commented May 5, 2023

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

@adan1324
Copy link

I also find this problem

@clyders42
Copy link

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

@shadynasrat
Copy link

my hair is falling here too, please help

@tolerance-go
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants