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
bffc4d3e
Commit
bffc4d3e
authored
3 years ago
by
zhaoting
Browse files
Options
Downloads
Patches
Plain Diff
fix some bug in mobilenetv2 & vgg16
parent
a8687103
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/mobilenetv2/default_config_gpu.yaml
+1
-1
1 addition, 1 deletion
official/cv/mobilenetv2/default_config_gpu.yaml
official/cv/vgg16/train.py
+1
-1
1 addition, 1 deletion
official/cv/vgg16/train.py
with
2 additions
and
2 deletions
official/cv/mobilenetv2/default_config_gpu.yaml
+
1
−
1
View file @
bffc4d3e
...
...
@@ -37,7 +37,7 @@ platform: 'GPU'
device_id
:
0
rank_id
:
0
rank_size
:
1
run_distribute
:
Tru
e
run_distribute
:
Fals
e
activation
:
"
Softmax"
# Image classification trian. train_parse_args():return train_args
...
...
This diff is collapsed.
Click to expand it.
official/cv/vgg16/train.py
+
1
−
1
View file @
bffc4d3e
...
...
@@ -221,7 +221,7 @@ def run_train():
# define callbacks
time_cb
=
TimeMonitor
(
data_size
=
batch_num
)
loss_cb
=
LossMonitor
(
per_print_times
=
batch_num
)
loss_cb
=
LossMonitor
()
callbacks
=
[
time_cb
,
loss_cb
]
if
config
.
rank_save_ckpt_flag
:
ckpt_config
=
CheckpointConfig
(
save_checkpoint_steps
=
config
.
ckpt_interval
*
config
.
steps_per_epoch
,
...
...
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