Closed mangushev closed 5 years ago
Hi, according to line 161 ~ 176 in select_batch.py,
as for point 4: my understanding that we select specific row in simps in first dim and use positives and negatives in second dim. Does ii actually correspond to the selected anchor_index? It seems that anchor_index need to be mapped into speaker_embeds index and used for positioning in sims first dim
Yes, you are right, please check the line 149~163. ii is the anchor index in anh_speakers list, and first dim of sims[ii][pinds] denoted the same anchor index (because sims was calculated between anchor candidates with total utters. So, for the specific ii , sims[ii] is corresponding to anh_speakers[ii] )
Hi, sap = sims[ii][pinds] line 176 in select_batch.py ii is an index to speakers, sims rows are embeddings of selected speakers. It seems to me that row selected from sims does not correspond to anchor_index (that specific embedding for speaker) Could you clarify? Thanks!