Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
221cb0332
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2022
221cb0332
Commits
bc050e59
Commit
bc050e59
authored
3 years ago
by
anzhengqi
Browse files
Options
Downloads
Patches
Plain Diff
modify network squeezenet parameter error to fix bug
parent
1d8fe960
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
official/cv/yolov3_darknet53/README_CN.md
+1
-1
1 addition, 1 deletion
official/cv/yolov3_darknet53/README_CN.md
research/cv/squeezenet1_1/export.py
+1
-1
1 addition, 1 deletion
research/cv/squeezenet1_1/export.py
with
2 additions
and
2 deletions
official/cv/yolov3_darknet53/README_CN.md
+
1
−
1
View file @
bc050e59
...
...
@@ -102,7 +102,7 @@ YOLOv3使用DarkNet53执行特征提取,这是YOLOv2中的Darknet-19和残差
wget https://pjreddie.com/media/files/darknet53.conv.74
```
- 可以运行model
_zoo
/utils/hccl_tools/路径下的hccl_tools.py脚本生成hccl_8p.json文件,下面指令中参数"[0, 8)"表示生成0-7的8卡hccl_8p.json文件。
- 可以运行model
s
/utils/hccl_tools/路径下的hccl_tools.py脚本生成hccl_8p.json文件,下面指令中参数"[0, 8)"表示生成0-7的8卡hccl_8p.json文件。
- 该命令生成的json文件名为 hccl_8p_01234567_{host_ip}.json, 为了表述方便,统一使用hccl_8p.json表示该json文件。
```command
...
...
This diff is collapsed.
Click to expand it.
research/cv/squeezenet1_1/export.py
+
1
−
1
View file @
bc050e59
...
...
@@ -47,7 +47,7 @@ if args.device_target == "Ascend":
if
__name__
==
'
__main__
'
:
net
=
squeezenet
(
num_classes
=
num_classes
)
param_dict
=
load_checkpoint
(
args
.
c
kpt_file
)
param_dict
=
load_checkpoint
(
args
.
c
heckpoint_path
)
load_param_into_net
(
net
,
param_dict
)
input_data
=
Tensor
(
np
.
zeros
([
args
.
batch_size
,
3
,
args
.
height
,
args
.
width
],
np
.
float32
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment