You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seemingly, assume that length of datasets[0][1] and dataset[1][1] is n1, and n2 respectively and (n1<n2). So, datasets[0][1][:n1]==datasets[1][1][:n1], but they are not the positive pairs.
Is it right? the original line is a bug ? @ducha-aiki@DagnyT@spongezhang
The text was updated successfully, but these errors were encountered:
It is written in such way to shift label indices, in every dataset you expect to have labels: [0, n1], so in concat function labels from new dataset have to start from (n1+1).
labels = torch.cat([labels,datasets[i][1]])+torch.max(labels)+1
Seemingly, assume that length of datasets[0][1] and dataset[1][1] is n1, and n2 respectively and (n1<n2). So, datasets[0][1][:n1]==datasets[1][1][:n1], but they are not the positive pairs.
Is it right? the original line is a bug ? @ducha-aiki @DagnyT @spongezhang
The text was updated successfully, but these errors were encountered: