Skip to content

Commit 4969ff2

Browse files
Lingitee-org
authored andcommitted
!929 security check
Merge pull request !929 from xiaoyao/security_check
2 parents 8142dbb + d96763e commit 4969ff2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mindformers/trainer/image_classification/group_ic_params.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def get_group_parameters(config, model, base_lr):
5050
parameter_group_vars = {}
5151

5252
for param in model.trainable_params():
53-
5453
if len(param.shape) == 1 or param.name.endswith(".bias") or (param.name in skip) or \
5554
check_keywords_in_name(param.name, skip_keywords):
5655
group_name = "no_decay"

0 commit comments

Comments
 (0)