From 5b532b8ddac20f937229f48a9ef955c94f2a4cf1 Mon Sep 17 00:00:00 2001 From: dianeo-mit <46697321+dianeo-mit@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:33:20 -0700 Subject: [PATCH] Update deploy-model.js Please remove all mention of AutoML Vision, as it is deprecated. Thanks! dianeolsen@google.com --- ai-platform/snippets/deploy-model.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/ai-platform/snippets/deploy-model.js b/ai-platform/snippets/deploy-model.js index aa0c2d6671..f9d6a4eed0 100644 --- a/ai-platform/snippets/deploy-model.js +++ b/ai-platform/snippets/deploy-model.js @@ -58,8 +58,6 @@ async function main( // format: 'projects/{project}/locations/{location}/models/{model}' model: modelName, displayName: deployedModelDisplayName, - // AutoML Vision models require `automatic_resources` field - // Other model types may require `dedicated_resources` field instead automaticResources: {minReplicaCount: 1, maxReplicaCount: 1}, }; const request = {