This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
limingjuan
/
Prediction-MindSpore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
0
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Update tools.py
main
BBing
2 years ago
parent
89b4102a44
commit
5da8bd07e2
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
utils/tools.py
+ 1
- 0
utils/tools.py
View File
@@ -3,6 +3,7 @@ import mindspore.numpy as mnp
import mindspore
from mindspore import Tensor, Parameter
def adjust_learning_rate(optimizer, epoch, args):
if args.lradj == 'type1':
lr_adjust = {epoch: args.learning_rate * (0.5 ** ((epoch-1) // 1))}
Write
Preview
Loading…
Cancel
Save