This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!3415
fix bug of group lr
Merge pull request
!3415
from wangnan39/fix_bug_of_tuple_lr_in_optimizer
tags/v0.7.0-beta
mindspore-ci-bot
Gitee
5 years ago
parent
2f1a5b979d
4c40fd681e
commit
20cb5eec66
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindspore/nn/optim/optimizer.py
+ 1
- 1
mindspore/nn/optim/optimizer.py
View File
@@ -130,7 +130,7 @@ class Optimizer(Cell):
if self.dynamic_lr:
self.learning_rate = CellList(self.group_lr)
else:
self.learning_rate = tuple(self.group_lr)
self.learning_rate =
Parame
t
erT
uple(self.group_lr)
else:
self.learning_rate = self._build_single_lr(learning_rate, 'learning_rate')
if self.is_group:
Write
Preview
Loading…
Cancel
Save