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

MemoryError #22

Closed
LavenderMP opened this issue Nov 10, 2019 · 0 comments
Closed

MemoryError #22

LavenderMP opened this issue Nov 10, 2019 · 0 comments

Comments

@LavenderMP
Copy link

Hi taylorlu could you help me out of this problem.
I did follow your step to train on custom dataset. the code itself works well on VCTK dataset (for testing) and then i did same step to apply on my custom dataset and it show this error:
Traceback (most recent call last):
File "train.py", line 91, in
main()
File "train.py", line 87, in main
diarization_experiment(model_args, training_args, inference_args)
File "train.py", line 48, in diarization_experiment
model.fit(train_sequence_list, train_cluster_id_list, training_args)
File "/home/huynh_hoang/Speaker-Diarization/uisrnn/uisrnn.py", line 373, in fit
concatenated_train_sequence, concatenated_train_cluster_id, args)
File "/home/huynh_hoang/Speaker-Diarization/uisrnn/uisrnn.py", line 240, in fit_concatenated
num_permutations=args.num_permutations)
File "/home/huynh_hoang/Speaker-Diarization/uisrnn/utils.py", line 214, in resize_sequence
sub_sequences.append(sequence[sampled_idx_sets[j], :])
MemoryError: Unable to allocate array with shape (27848, 512) and data type float64

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