Commit 013f9a19 authored by Boris Bonev's avatar Boris Bonev
Browse files

revertingf code change in sfno

parent 63b769fc
......@@ -392,15 +392,7 @@ class SphericalFourierNeuralOperator(nn.Module):
@torch.jit.ignore
def no_weight_decay(self):
"""
Return a set of parameter names that should not be decayed.
Returns
-------
set
Set of parameter names to exclude from weight decay
"""
return {"pos_embed.pos_embed"}
return {"pos_embed", "cls_token"}
def forward_features(self, x):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment