speaker-recognition-pytorch
speaker-recognition-pytorch copied to clipboard
small typo in dvector create file at the end
np.save('test_sequence',train_sequence)
np.save('test_cluster_id',train_cluster_id)
should be "train sequence" in the first line - you save the train_sequence right? so should print train sequence too.
I don't think there is a typo; after train_sequence is firstly saved as variable train_sequence, the variable is set to an empty list
np.save('train_sequence',train_sequence)
np.save('train_cluster_id',train_cluster_id)
train_saved = True
train_sequence = []
train_cluster_id = []
at line 113-117 of dvector_create.py.
so actually the "save" operation after this reset is referring to any numpy arrays (which are testing data) that inside the variable train_sequence, the issue you assumed maybe variable name does not change, which causes some confusion.