Skip to content

Commit aab4948

Browse files
authored
fix: initialization
1 parent 73c8808 commit aab4948

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
@@ -26,7 +26,7 @@ def __init__(self,trainloader,n, t=0.07):
2626
Temperature parameter as described in https://arxiv.org/pdf/1805.01978.pdf.
2727
2828
"""
29-
super(Supervised_Pretraining,self).__init__()
29+
super(Supervised_Pretraining_Loss,self).__init__()
3030
# get train labels
3131
self.labels = get_train_labels(trainloader)
3232
# Softmax loss

0 commit comments

Comments
 (0)