mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
89 lines
3.4 KiB
Text
89 lines
3.4 KiB
Text
NAME
|
|
gcloud alpha ai-platform models create - create a new AI Platform model
|
|
|
|
SYNOPSIS
|
|
gcloud alpha ai-platform models create MODEL [--description=DESCRIPTION]
|
|
[--enable-console-logging] [--enable-logging]
|
|
[--labels=[KEY=VALUE,...]]
|
|
[--region=REGION | --regions=REGION,[REGION,...]]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Create a new AI Platform model.
|
|
|
|
POSITIONAL ARGUMENTS
|
|
MODEL
|
|
Name of the model.
|
|
|
|
FLAGS
|
|
--description=DESCRIPTION
|
|
Description of the model.
|
|
|
|
--enable-console-logging
|
|
If set, enables StackDriver Logging of stderr and stdout streams for
|
|
online prediction. These logs are more verbose than the standard access
|
|
logs and can be helpful for debugging.
|
|
|
|
--enable-logging
|
|
If set, enables StackDriver Logging for online prediction. These logs
|
|
are like standard server access logs, containing information such as
|
|
timestamps and latency for each request.
|
|
|
|
--labels=[KEY=VALUE,...]
|
|
List of label KEY=VALUE pairs to add.
|
|
|
|
Keys must start with a lowercase character and contain only hyphens
|
|
(-), underscores (_), lowercase characters, and numbers. Values must
|
|
contain only hyphens (-), underscores (_), lowercase characters, and
|
|
numbers.
|
|
|
|
At most one of these can be specified:
|
|
|
|
--region=REGION
|
|
Google Cloud region of the regional endpoint to use for this command.
|
|
|
|
If you specify this flag, do not specify --regions.
|
|
|
|
If you specify --region=global, the model will be deployed to
|
|
'us-central1' by default using the global endpoint. Please use
|
|
--regions only if you want to change the region where the model will
|
|
be deployed against the global endpoint.
|
|
|
|
If both flags are unspecified and you don't set ai_platform/region,
|
|
you will be prompted for region of the regional endpoint.
|
|
|
|
Learn more about regional endpoints and see a list of available
|
|
regions:
|
|
https://cloud.google.com/ai-platform/prediction/docs/regional-endpoints
|
|
|
|
REGION must be one of: global, asia-east1, asia-northeast1,
|
|
asia-southeast1, australia-southeast1, europe-west1, europe-west2,
|
|
europe-west3, europe-west4, northamerica-northeast1, us-central1,
|
|
us-east1, us-east4, us-west1.
|
|
|
|
--regions=REGION,[REGION,...]
|
|
The Google Cloud region where the model will be deployed (currently
|
|
only a single region is supported) against the global endpoint.
|
|
|
|
If you specify this flag, do not specify --region.
|
|
|
|
Defaults to 'us-central1' while using the global endpoint.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in alpha and might change without notice. If this
|
|
command fails with API permission errors despite specifying the correct
|
|
project, you might be trying to access an API with an invitation-only early
|
|
access allowlist. These variants are also available:
|
|
|
|
$ gcloud ai-platform models create
|
|
|
|
$ gcloud beta ai-platform models create
|
|
|