Skip to content

Commit

Permalink
Update gasoftmaxloss.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wy1iu authored May 14, 2022
1 parent 3119c97 commit 032c31b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model/head/gasoftmaxloss.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

class GAsoftmax(nn.Module):
""" reference: <Deep Hyperspherical Learning> in NIPS 2017"
Section 3 in the paper: https://arxiv.org/abs/1711.03189
"""
def __init__(self, feat_dim, num_class, s=30., m=1.5):
super(GAsoftmax, self).__init__()
Expand Down

0 comments on commit 032c31b

Please sign in to comment.