각 예측 인스턴스와 함께 전달되는 속성입니다. 이미지 예측은 타일로 표시되므로 이러한 속성은 각 이미지 타일 인스턴스로 복제됩니다. 기본값은 속성이 없습니다.
inputTypeOverride
사전, 기본값: null
지정된 경우 모델 입력이 강제 변환될 유형입니다. 이미지 밴드와 이미지/기능 속성 모두 유효합니다.
inputShapes
사전, 기본값: null
입력 배열 밴드의 고정된 모양입니다. 지정되지 않은 각 배열 밴드의 경우 마스크되지 않은 픽셀에서 고정 배열 모양이 자동으로 추론됩니다.
proj
예상, 기본값: null
모든 밴드를 샘플링할 입력 투영입니다. 기본값은 이미지의 첫 번째 밴드의 기본 투영입니다.
fixInputProj
불리언, 기본값: null
true인 경우 'proj'에 지정된 고정 투영에서 픽셀이 샘플링됩니다. 그렇지 않으면 출력 프로젝션이 사용됩니다. 기본값은 false입니다.
inputTileSize
목록, 기본값: null
예측 인스턴스에 전달된 픽셀 타일의 직사각형 크기입니다. 이미지 예측에 필요합니다.
inputOverlapSize
목록, 기본값: null
예측 인스턴스에 전달된 픽셀 타일의 각 가장자리를 따라 X/Y의 인접 타일 중복량입니다. 기본값은 [0, 0]입니다.
outputTileSize
목록, 기본값: null
AI Platform에서 반환된 픽셀 타일의 직사각형 크기입니다. 기본값은 'inputTileSize'의 값입니다.
outputBands
사전, 기본값: null
출력 밴드 이름에서 출력 밴드 정보의 사전으로의 맵입니다. 유효한 밴드 정보 필드는 'type' 및 'dimensions'입니다. 'type'은 출력 밴드를 설명하는 ee.PixelType이어야 하고 'dimensions'는 해당 밴드의 차원 수를 나타내는 선택적 정수입니다. "outputBands: {'p': {'type': ee.PixelType.int8(), 'dimensions': 1}}". 이미지 예측에 필요합니다.
outputProperties
사전, 기본값: null
출력 속성 이름에서 출력 속성 정보의 사전으로의 맵입니다. 유효한 속성 정보 필드는 'type' 및 'dimensions'입니다. 'type'은 출력 속성을 설명하는 ee.PixelType이어야 하고, 'dimensions'는 배열인 경우 해당 속성의 차원 수를 나타내는 선택적 정수입니다.예를 들면 다음과 같습니다. "outputBands: {'p': {'type': ee.PixelType.int8(), 'dimensions': 1}}". FeatureCollection의 예측에 필요합니다.
outputMultiplier
부동 소수점 수, 기본값: null
모델 입력에 대한 모델 출력의 데이터 볼륨 증가에 대한 근사치입니다. 지정된 경우 1 이상이어야 합니다. 이는 모델이 소비하는 것보다 더 많은 데이터를 생성하는 경우에만 필요합니다(예: 5개 밴드를 가져와 픽셀당 10개의 출력을 생성하는 모델).
maxPayloadBytes
long, 기본값: null
예측 페이로드 크기 제한(바이트)입니다. 기본값은 1.5MB (1500000바이트)입니다.
payloadFormat
문자열, 기본값: null
예측 요청 및 응답의 항목 페이로드 형식입니다. ['SERIALIZED_TF_TENSORS, 'RAW_JSON', 'ND_ARRAYS', 'GRPC_TF_TENSORS', 'GRPC_SERIALIZED_TF_TENSORS', 'GRPC_TF_EXAMPLES'] 중 하나입니다. 기본값은 'SERIALIZED_TF_TENSORS'입니다.
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eReturns an \u003ccode\u003eee.Model\u003c/code\u003e representing a Vertex AI model endpoint for making predictions within Earth Engine.\u003c/p\u003e\n"],["\u003cp\u003eEnables integration with pre-trained or custom Vertex AI models for Earth Engine analysis.\u003c/p\u003e\n"],["\u003cp\u003eAccepts various parameters for configuring model inputs, outputs, and prediction behavior.\u003c/p\u003e\n"],["\u003cp\u003eSupports customization of data types, projections, tile sizes, and payload formats for model interaction.\u003c/p\u003e\n"],["\u003cp\u003eThis functionality is currently in public preview and subject to potential changes.\u003c/p\u003e\n"]]],["This document describes the `ee.Model.fromVertexAi` method, which retrieves a model from a Vertex AI endpoint. Key actions include specifying the `endpoint`, input properties, and output properties/bands. Users can define `inputShapes`, `inputTileSize`, and `inputOverlapSize` for image predictions. Control over data handling involves `inputTypeOverride`, `proj`, `fixInputProj`, `outputTileSize`, `outputMultiplier`, `maxPayloadBytes`, and `payloadFormat`. The method returns a Model, with detailed argument specifications provided.\n"],null,["# ee.Model.fromVertexAi\n\nReturns an ee.Model from a description of a Vertex AI model endpoint. (See https://cloud.google.com/vertex-ai).\n\n\u003cbr /\u003e\n\n| **Warning:** This method is in public preview and may undergo breaking changes.\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| `ee.Model.fromVertexAi(endpoint, `*inputProperties* `, `*inputTypeOverride* `, `*inputShapes* `, `*proj* `, `*fixInputProj* `, `*inputTileSize* `, `*inputOverlapSize* `, `*outputTileSize* `, `*outputBands* `, `*outputProperties* `, `*outputMultiplier* `, `*maxPayloadBytes* `, `*payloadFormat*`)` | Model |\n\n| Argument | Type | Details |\n|---------------------|---------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `endpoint` | String | The endpoint name for predictions. |\n| `inputProperties` | List, default: null | Properties passed with each prediction instance. Image predictions are tiled, so these properties will be replicated into each image tile instance. Defaults to no properties. |\n| `inputTypeOverride` | Dictionary, default: null | Types to which model inputs will be coerced if specified. Both Image bands and Image/Feature properties are valid. |\n| `inputShapes` | Dictionary, default: null | The fixed shape of input array bands. For each array band not specified, the fixed array shape will be automatically deduced from a non-masked pixel. |\n| `proj` | Projection, default: null | The input projection at which to sample all bands. Defaults to the default projection of an image's first band. |\n| `fixInputProj` | Boolean, default: null | If true, pixels will be sampled in a fixed projection specified by 'proj'. The output projection is used otherwise. Defaults to false. |\n| `inputTileSize` | List, default: null | Rectangular dimensions of pixel tiles passed in to prediction instances. Required for image predictions. |\n| `inputOverlapSize` | List, default: null | Amount of adjacent-tile overlap in X/Y along each edge of pixel tiles passed in to prediction instances. Defaults to \\[0, 0\\]. |\n| `outputTileSize` | List, default: null | Rectangular dimensions of pixel tiles returned from AI Platform. Defaults to the value in 'inputTileSize'. |\n| `outputBands` | Dictionary, default: null | A map from output band names to a dictionary of output band info. Valid band info fields are 'type' and 'dimensions'. 'type' should be a ee.PixelType describing the output band, and 'dimensions' is an optional integer with the number of dimensions in that band e.g., \"outputBands: {'p': {'type': ee.PixelType.int8(), 'dimensions': 1}}\". Required for image predictions. |\n| `outputProperties` | Dictionary, default: null | A map from output property names to a dictionary of output property info. Valid property info fields are 'type' and 'dimensions'. 'type' should be a ee.PixelType describing the output property, and 'dimensions' is an optional integer with the number of dimensions for that property if it is an array e.g., \"outputBands: {'p': {'type': ee.PixelType.int8(), 'dimensions': 1}}\". Required for predictions from FeatureCollections. |\n| `outputMultiplier` | Float, default: null | An approximation to the increase in data volume for the model outputs over the model inputs. If specified this must be \\\u003e= 1. This is only needed if the model produces more data than it consumes, e.g., a model that takes 5 bands and produces 10 outputs per pixel. |\n| `maxPayloadBytes` | Long, default: null | The prediction payload size limit in bytes. Defaults to 1.5MB (1500000 bytes.) |\n| `payloadFormat` | String, default: null | The payload format of entries in prediction requests and responses. One of: \\['SERIALIZED_TF_TENSORS, 'RAW_JSON', 'ND_ARRAYS', 'GRPC_TF_TENSORS', 'GRPC_SERIALIZED_TF_TENSORS', 'GRPC_TF_EXAMPLES'\\]. Defaults to 'SERIALIZED_TF_TENSORS'. |"]]