Beispiel #1
0
 def get_losses(self):
     self.F = F.Top1_Hard_SVM(self.labels, self.alpha)
Beispiel #2
0
 def get_losses(self):
     self.F_h = F.Top1_Hard_SVM(self.labels, self.alpha)
     self.F_s = F.Top1_Smooth_SVM(self.labels, self.tau, self.alpha)