Skip to content

Commit

Permalink
remove learning logit scale in deterministic mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bdvllrs committed Nov 8, 2023
1 parent a91f05a commit e118b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shimmer/modules/losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def __init__(
self.gw_mod = gw_mod
self.domain_mods = domain_mods
self.loss_coefs = coef_buffers
self.logit_scale = torch.nn.Parameter(torch.tensor([1 / 0.07]).log())
self.register_buffer("logit_scale", torch.tensor([1 / 0.01]).log())

def demi_cycle_loss(
self, latent_domains: LatentsT
Expand Down

0 comments on commit e118b13

Please sign in to comment.