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
5329de23
Commit
5329de23
authored
Aug 13, 2020
by
A. Unique TensorFlower
Browse files
Merge pull request #9091 from sshahrokhi:patch-1
PiperOrigin-RevId: 326538981
parents
8ddb4f00
f08e9862
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
official/nlp/bert/bert_cloud_tpu.md
official/nlp/bert/bert_cloud_tpu.md
+4
-4
No files found.
official/nlp/bert/bert_cloud_tpu.md
View file @
5329de23
...
...
@@ -4,17 +4,17 @@ This tutorial shows you how to train the Bidirectional Encoder Representations f
## Set up Cloud Storage and Compute Engine VM
1.
[
Open a cloud shell window
](
https://console.cloud.google.com/?cloudshell=true&_ga=2.11844148.-1612541229.1552429951
)
2.
Create a variable for the project's
name
:
2.
Create a variable for the project's
id
:
```
export PROJECT_
NAME
=your-project_
name
export PROJECT_
ID
=your-project_
id
```
3.
Configure
`gcloud`
command-line tool to use the project where you want to create Cloud TPU.
```
gcloud config set project ${PROJECT_
NAME
}
gcloud config set project ${PROJECT_
ID
}
```
4.
Create a Cloud Storage bucket using the following command:
```
gsutil mb -p ${PROJECT_
NAME
} -c standard -l europe-west4 -b on gs://your-bucket-name
gsutil mb -p ${PROJECT_
ID
} -c standard -l europe-west4 -b on gs://your-bucket-name
```
This Cloud Storage bucket stores the data you use to train your model and the training results.
5.
Launch a Compute Engine VM and Cloud TPU using the ctpu up command.
...
...
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