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
!8175
GPU update alexnet in modelzoo
Merge pull request
!8175
from VectorSL/alexnet
tags/v1.1.0
mindspore-ci-bot
Gitee
5 years ago
parent
30ae0c9779
69eb38e9bc
commit
8a261aa3a1
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
model_zoo/official/cv/alexnet/train.py
+ 1
- 1
model_zoo/official/cv/alexnet/train.py
View File
@@ -76,8 +76,8 @@ if __name__ == "__main__":
gradients_mean=True)
init()
elif device_target == "GPU":
init()
if device_num > 1:
init()
context.reset_auto_parallel_context()
context.set_auto_parallel_context(device_num=device_num, parallel_mode=ParallelMode.DATA_PARALLEL,
gradients_mean=True)
Write
Preview
Loading…
Cancel
Save