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

UnboundLocalError: local variable 'dimensions_dis' referenced before assignment #11

Open
lunar333 opened this issue Oct 16, 2022 · 0 comments

Comments

@lunar333
Copy link

Traceback (most recent call last):
File "/disk2/zhh/EmotionalConversionStarGAN-master/run_preprocessing.py", line 214, in
run_preprocessing(args)
File "/disk2/zhh/EmotionalConversionStarGAN-master/run_preprocessing.py", line 199, in run_preprocessing
generate_world_features(audio_filenames, data_dir)
File "/disk2/zhh/EmotionalConversionStarGAN-master/run_preprocessing.py", line 87, in generate_world_features
wav, labels = get_wav_and_labels(f, data_dir)
File "/disk2/zhh/EmotionalConversionStarGAN-master/utils/data_preprocessing_utils.py", line 111, in get_wav_and_labels
labels = concatenate_labels(category, speaker, dimensions, dimensions_dis)
UnboundLocalError: local variable 'dimensions_dis' referenced before assignment

how to solve this problem?

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

1 participant