diff --git a/speaker_id.py b/speaker_id.py index 36adc9d2..e030175a 100644 --- a/speaker_id.py +++ b/speaker_id.py @@ -170,7 +170,7 @@ def create_batches_rnd(batch_size,data_folder,wav_lst,N_snt,wlen,lab_dict,fact_a CNN_net.cuda() # Loading label dictionary -lab_dict=np.load(class_dict_file).item() +lab_dict=np.load(class_dict_file, allow_pickle=True).item()