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
!5758
fix arg or hub in resnet
Merge pull request
!5758
from zhouyaqiang0/master
tags/v1.0.0
mindspore-ci-bot
Gitee
5 years ago
parent
c3656e8d7b
5ad4cfe6c3
commit
e03e087079
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/resnet/mindspore_hub_conf.py
+ 1
- 1
model_zoo/official/cv/resnet/mindspore_hub_conf.py
View File
@@ -15,7 +15,7 @@
"""hub config."""
from src.resnet import resnet50, resnet101, se_resnet50
def create_network(name, **kwargs):
def create_network(name, *
args, *
*kwargs):
if name == 'resnet50':
return resnet50(*args, **kwargs)
if name == 'resnet101':
Write
Preview
Loading…
Cancel
Save