Skip to content

Commit 73c8808

Browse files
authored
fix: used as a cost function
1 parent fc599d4 commit 73c8808

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/SupervisedMetricPretraining.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def get_train_labels(trainloader, device='cuda'):
1313
assert all(train_labels != -1)
1414
train_labels_ = train_labels.to(device)
1515
return train_labels_
16-
class Supervised_Pretraining(object):
16+
class Supervised_Pretraining_Loss(object):
1717
def __init__(self,trainloader,n, t=0.07):
1818
"""
1919
Parameters

0 commit comments

Comments
 (0)