![](/img/trans.png)
[英]PlatformException when trying to detect objects on a custom tflite model
我使用 Cloud AutoML 訓練了一個自定義 model,它假設可以檢測一張紙上的標記。 我將數據集導出為 TFLite 文件,並將其托管在 firebase 上。 我設法下載了文件並很好地啟動了 objectDetector。 但在處理輸入圖像時出現錯誤。 這是我的代碼: 初始化cubit ...
[英]PlatformException when trying to detect objects on a custom tflite model
我使用 Cloud AutoML 訓練了一個自定義 model,它假設可以檢測一張紙上的標記。 我將數據集導出為 TFLite 文件,並將其托管在 firebase 上。 我設法下載了文件並很好地啟動了 objectDetector。 但在處理輸入圖像時出現錯誤。 這是我的代碼: 初始化cubit ...
[英]Error call Google Vertex AI endpoint from a python backend
我正在嘗試向我的 google vertex ai 端點發送 http 發布請求以進行預測。 雖然我確實在請求 header 中設置了承載令牌,但請求仍然失敗並出現以下錯誤: } 由於我是從 python 后端進行此調用,因此我不確定消息中建議的 OAuth 2 是否是明智且適用的選擇。 mod ...
[英]Permission "artifactregistry.repositories.downloadArtifacts" denied on resource
在成功創建工件存儲庫時,運行 docker 推送以將圖像推送到 google 工件注冊表失敗並出現權限錯誤,即使在授予我在 gcloud cli 上使用的所有工件權限后也是如此。 用於推送圖像的命令: 錯誤信息: ...
[英]400 Invalid image "us-docker.pkg.dev/vertex-ai/training/pytorch-gpu.1-11:latest" for deployment. Please use a Model with a valid image
我在這里想念的重點是什么。 所有數據集和訓練都是在 gcp 上完成的,我的設置是基本的。 在 JupyterLab 上完成的訓練、驗證和測試 模型推送到 gcp 存儲桶 創建和端點 將模型部署到端點。 直到最后(4),所有步驟看起來都很好。 嘗試了谷歌推薦的其他預先構建的 pytor ...
[英]Can `pip_index_urls` be used with Vertex pipelines?
在kfp-1.8.12中有一個非常有用的新功能,我們可以在組件裝飾器中為 python 依賴項指定自定義索引(請參閱此 PR )。 我有一個組件,它使用已經托管在 pypi 存儲庫下的 GCP Artifact Registry 上的 python 包。 在使用它的那一刻,我正在生成一個單獨的 D ...
[英]Constructing a Vertex AI Pipeline with a custom training container and a model serving container
我希望能夠使用我制作並保存到我的工件注冊表中的訓練應用程序容器來訓練 model。 我希望能夠部署一個 model 和一個 flask 應用程序以及一個可以處理某些邏輯的 /predict 路由——不一定只是預測輸入 json。它還需要一個我理解的 /healthz 路由。 所以基本上我想要一個在我 ...
[英]Exported VertexAI TabularModel model_warm_up fails when running docker
晚上好, 我已按照此處的說明進行操作。 https://cloud.google.com/vertex-ai/docs/export/export-model-tabular 我在 Google Cloud Platform 控制台上訓練了 model 然后按照說明導出了 model。 但是,當 ...
[英]Reading csv file in R from Google Storage Bucket with cloudml or googleCloudStorageR
我想從 Google 存儲桶中讀取 csv 文件。 使用 googleCloudStorageR 庫: 但是這里 gfs_file 包含原始數據,我不知道如何遷移到 data.frame R 使用 cloudml 庫,看起來更輕松: 未測試: 那么從 GC 存儲桶下載文件並將其存儲在 data.fr ...
[英]Any way to make use of ImageClassificationInstance in C#?
當我嘗試使用ImageClassificationInstance對象使用我在 Vertex AI 中創建的 model 進行分類時,我不斷收到Grpc.Core.RpcException: Status(StatusCode="Unimplemented"...異常。有什么辦法(通過使用 Goo ...
[英]quotas are exceeded error while deploying Vertex AI Matching Engine Index
我正在關注這個示例筆記本並使用了我自己的自定義詞嵌入。 在此步驟部署索引時出現以下錯誤 ResourceExhausted:429 超出以下配額:MatchingEngineDeployedIndexNodes 我已經部署了在上一步中完成的列表端點。 ...
[英]Vertex AI forecasting AutoML datatype mismatch
我可以訓練頂點 AI AutoML 預測 model,但是當我進行批量預測時,出現以下錯誤批量預測作業 batch_prediction 遇到以下錯誤: 下面是我在大查詢中為批量預測傳遞的測試集示例。 根據批量預測的文檔,我們必須發送一些訓練/歷史數據和預測日期。 我就是這么做的。 ...
[英]ModelUploadOp step failing with custom prediction container
我正在嘗試部署 Vertex 管道以實現以下目標: Train a custom model (from a custom training python package) and dump model artifacts (trained model and data preprocessor ...
[英]AlphaFold on VertexAI - Stuck in setting up notebook for 2 hours
我正在嘗試在 VertexAI 上運行 AlphaFold,如此處所述。 但是,我的實例創建在這個 state 中停留了大約兩個小時。 也沒有錯誤信息。 我想知道是否出了問題,或者這只是設置新實例所需的預期時間? 我實際上嘗試了兩個不同的筆記本。 一個是上面文章中鏈接的默認一個,另一個是https: ...
[英]How to view Vertex AI Matching Engine Deployed Index logs
我在 Vertex AI IndexEndpoint 中部署了一個索引。 根據DeployedIndex的文檔,我已將屬性enable_access_logging設置為True以啟用私有端點訪問日志。 enable_access_logging 可選的。 如果為 true,則將私有端點的訪問日志 ...
[英]GCP - issues with connecting Vertex.AI to shared VPC
我們正在嘗試在 Vertex.AI 中創建訓練作業,我們需要連接我們共享 VPC 中的資源。 我們在其中創建此工作的項目是服務項目。 我們已經配置了私有服務訪問的 VPC。 (如https://cloud.google.com/vertex-ai/docs/general/vpc-peering中 ...
[英]_InactiveRpcError while querying Vertex AI Matching Engine Index
我正在按照 GCP 文檔跟蹤示例筆記本來測試頂點匹配引擎。 我已經部署了一個索引,但是在嘗試查詢索引時我得到了_InactiveRpcError 。 VPC 網絡位於us-west2並啟用了私有服務訪問,索引部署在us-central1中。 我的 VPC 網絡包含預先填充的防火牆規則。 指數 索 ...
[英]Can you import data from parquet or delta file format data sets into Vertex AI feature store
只是想知道是否不僅可以從基於 CSV 的數據集導入 Vertex AI 功能存儲,還可以從 parquet 或 delta 文件格式導入。 當嘗試從 GCP 中導入數據集時,它提供的唯一選項是來自 BigQuery 或 CSV。 我附上了一張給定選項的圖片無 Parquet 選項 - 僅 CSV 和 ...
[英]VertexAI Pipeline: How to use an output from a custom kfp component as input for google_cloud_pipeline_components?
我正在嘗試使用 kfp 組件為 VertexAI 中的管道編寫 Python 代碼。 我有一個創建system.Dataset object 的步驟,如下所示:@component(base_image="python:3.9", packages_to_install=["google-clou ...
[英]Vertex AI returns a different result from the local tflite model
我在 Vertex AI 上上傳了我的 tflite model 並創建了一個端點,我請求使用一些輸入值進行推理,但它返回的結果與我的本地 tflite 模型的推理結果不同。 輸入值是 float32 數組(實際上是采樣的音頻數據),我將此代碼用於請求。 雖然輸入數組相同,但是在 Vertex AI ...
[英]How to use kfp Artifact with sklearn?
我正在嘗試使用 Vertex AI(谷歌雲平台)內部的 kubeflow 管道(kfp)組件開發自定義管道。 流水線的步驟是: 從大查詢表中讀取數據 創建一個熊貓數據DataFrame 使用DataFrame訓練 K-Means 模型 將模型部署到端點 這是第 2 步的代碼。我不得不 ...