Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
bca18d0b
"examples/vscode:/vscode.git/clone" did not exist on "e619db24becce564a3646cef35ae83b06955867f"
Unverified
Commit
bca18d0b
authored
Dec 22, 2019
by
Artit 'Art' Wangperawong
Committed by
GitHub
Dec 22, 2019
Browse files
fix distribution strategy
parent
01a51ee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
official/nlp/bert/README.md
official/nlp/bert/README.md
+2
-2
No files found.
official/nlp/bert/README.md
View file @
bca18d0b
...
@@ -239,7 +239,7 @@ python run_classifier.py \
...
@@ -239,7 +239,7 @@ python run_classifier.py \
--learning_rate
=
2e-5
\
--learning_rate
=
2e-5
\
--num_train_epochs
=
3
\
--num_train_epochs
=
3
\
--model_dir
=
${
MODEL_DIR
}
\
--model_dir
=
${
MODEL_DIR
}
\
--distribution_strategy
=
mirror
--distribution_strategy
=
mirror
ed
```
```
To use TPU, you only need to switch distribution strategy type to
`tpu`
with TPU
To use TPU, you only need to switch distribution strategy type to
`tpu`
with TPU
...
@@ -295,7 +295,7 @@ python run_squad.py \
...
@@ -295,7 +295,7 @@ python run_squad.py \
--learning_rate
=
8e-5
\
--learning_rate
=
8e-5
\
--num_train_epochs
=
2
\
--num_train_epochs
=
2
\
--model_dir
=
${
MODEL_DIR
}
\
--model_dir
=
${
MODEL_DIR
}
\
--distribution_strategy
=
mirror
--distribution_strategy
=
mirror
ed
```
```
To use TPU, you need switch distribution strategy type to
`tpu`
with TPU
To use TPU, you need switch distribution strategy type to
`tpu`
with TPU
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment