contrastive-predictive-coding
contrastive-predictive-coding copied to clipboard
A question about training code
Hi, nice code, but I'm confused about the training code of encoder. I think the training of encoder via CPC is unsupervised, however, you used some label information (made by original mnist dataset), which makes the training process supervised. Am I right?
Yes, I have the same feeling, and I had the same feeling in the paper itself, can someone clarifies?
The labels information was used to organize data into positive and negative examples. The actual contrastive prediction was on images. No labels were used there.