Hi, 1. I notice that the labels created in InfoNCE loss is always a zero-vector:(https://github.com/salesforce/PCL/blob/964da1fb7c0546e8ce55627fa3c0debde4b7e456/pcl/builder.py#L163) I think this is wrong since otherwise the loss will always be zero. Did I mis-understand the codes? 2. In creating the Custer_Result dictionary, I found that only eval dataset was involved into consideration: (https://github.com/salesforce/PCL/blob/964da1fb7c0546e8ce55627fa3c0debde4b7e456/main_pcl.py#L299) So what is the motivation behind this operation, I think we should run it on training set.
Hi,
I notice that the labels created in InfoNCE loss is always a zero-vector:(
PCL/pcl/builder.py
Line 163 in 964da1f
I think this is wrong since otherwise the loss will always be zero. Did I mis-understand the codes?
In creating the Custer_Result dictionary, I found that only eval dataset was involved into consideration:
(
PCL/main_pcl.py
Line 299 in 964da1f
So what is the motivation behind this operation, I think we should run it on training set.