diff options
Diffstat (limited to 'models/model.py')
-rw-r--r-- | models/model.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/models/model.py b/models/model.py index ebd6aba..7dba949 100644 --- a/models/model.py +++ b/models/model.py @@ -87,8 +87,6 @@ class Model: nn.init.zeros_(m.bias) elif isinstance(m, nn.Linear): nn.init.xavier_uniform_(m.weight) - elif isinstance(m, nn.Parameter): - nn.init.xavier_uniform_(m) def _parse_dataset_config( self, |