Fix SSGR
This commit is contained in:
parent
17c569ea62
commit
53a5657850
|
@ -159,7 +159,7 @@ class SSGr1(nn.Module):
|
|||
self.init_temperature = init_temperature
|
||||
self.final_temperature_step = 10000
|
||||
|
||||
def forward(self, x, *args):
|
||||
def forward(self, x, embedding):
|
||||
noise_stds = []
|
||||
# The attention_maps debugger outputs <x>. Save that here.
|
||||
self.lr = x.detach().cpu()
|
||||
|
|
Loading…
Reference in New Issue
Block a user