jefflai108 / Contrastive-Predictive-Coding-PyTorch

Contrastive Predictive Coding for Automatic Speaker Verification
MIT License
472 stars 96 forks source link

About negative sample? #16

Closed aceprojectx closed 3 years ago

aceprojectx commented 3 years ago

https://github.com/jefflai108/Contrastive-Predictive-Coding-PyTorch/blob/a9dab4e759aaa68dce1b1ada46a8035076ba3296/src/model/model.py#L100

@jefflai108 Is negative sample from other batch at the same t (time-step) ?