Skip to content

Commit

Permalink
Update deploy-commands.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
RubensZimbres authored Mar 6, 2021
1 parent d1c1893 commit 1aae5e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Google-Cloud-Deploy/deploy-commands.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ $ gcloud ai-platform models create randomforest --regions=us-central1

$ gcloud ai-platform versions create version0 --model=randomforest --origin=gs://deploy-random --runtime-version=2.2 --framework=scikit-learn --python-version=3.7

## https://cloud.google.com/sdk/gcloud/reference/beta/ai-platform/versions/create#--machine-type

$ gcloud ai-platform versions describe version0 --model=randomforest

$ gcloud ai-platform predict --model randomforest --version version0 --json-instances ./Deploy/input.json

0 comments on commit 1aae5e1

Please sign in to comment.