Skip to content

Commit

Permalink
bug fixed: dropout in FinalLayer should be 0
Browse files Browse the repository at this point in the history
  • Loading branch information
SevenLJY committed Apr 1, 2024
1 parent b0d2255 commit a100ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/denoiser.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def __init__(self, hparams):
]
)

self.final_layer = FinalLayer(attn_dim, in_ch, dropout=dropout)
self.final_layer = FinalLayer(attn_dim, in_ch)

def forward(self, x, cat, timesteps, key_padding_mask=None, graph_mask=None, attr_mask=None):
# positional encoding for nodes and attributes
Expand Down

0 comments on commit a100ca8

Please sign in to comment.