speaker-recognition-pytorch icon indicating copy to clipboard operation
speaker-recognition-pytorch copied to clipboard

small typo in dvector create file at the end

Open erjan opened this issue 5 years ago • 1 comments

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.

erjan avatar Jan 28 '20 05:01 erjan

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.

zhaoyu-z avatar Sep 08 '21 03:09 zhaoyu-z