[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2024-10-01 UTC。"],[[["To use custom-trained models in Earth Engine, configure them for compatibility with Vertex AI for seamless inference requests."],["Earth Engine supports various payload formats, including gRPC and HTTP, for sending inference requests to your model, with gRPC being preferred for TensorFlow models due to its lower latency."],["When using gRPC, select the appropriate format (`GRPC_TF_TENSORS`, `GRPC_SERIALIZED_TF_TENSORS`, or `GRPC_SERIALIZED_TF_EXAMPLES`) based on your model's requirements and whether it needs a gRPC prediction handler."],["For HTTP payloads, Earth Engine offers options like `SERIALIZED_TF_TENSORS` (default and efficient for TensorFlow), `RAW_JSON` (flexible for PyTorch and AutoML), and `ND_ARRAYS` (for PyTorch with numerical data)."],["Carefully choose the payload format that best aligns with your model framework and data structure for optimal performance and compatibility."]]],["Earth Engine (EE) interacts with custom models on Vertex AI via inference requests. Users configure the payload format using `payloadFormat` in `ee.Model.fromVertexAi`. gRPC is preferred for lower latency and higher reliability, using formats like `GRPC_TF_TENSORS`, `GRPC_SERIALIZED_TF_TENSORS`, or `GRPC_SERIALIZED_TF_EXAMPLES`. HTTP API payloads are also supported, including `SERIALIZED_TF_TENSORS` (default for TensorFlow), `RAW_JSON` (for PyTorch/AutoML, converting numbers to strings), and `ND_ARRAYS` (similar to `RAW_JSON`, but without keys). Each format determines how data is sent.\n"]]