I am trying to learn more about Vertex AI Vision. So, I followed the Quickstart instructions for building an app in the console. However, I'm unable to register a Stream. I always get the following message... "Vertex Al Vision is setting up an application cluster to enable streaming. This is a one-time operation that may take several minutes (up to an hour). After this operation completes, you will get instructions to connect your devices" ... but after hours of waiting on multiple days, a stream never appears and I don't ever "get" (how? delivery method?) instructions. Any suggestions? Thanks!
So, I found the Log Explorer and within it I found numerous error pairs. Always an internal error followed by a cluster creation failure. Any suggestions on how to resolve? Thanks!
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"status": {
"code": 13,
"message": "An internal error has occurred (d57aa358-914f-4990-8080-bc0bad9f7c72)"
},
"authenticationInfo": {
"principalEmail": "[removed from post]@gmail.com",
"principalSubject": "user:[removed from post]@gmail.com"
},
"requestMetadata": {
"requestAttributes": {},
"destinationAttributes": {}
},
"serviceName": "visionai.googleapis.com",
"methodName": "google.cloud.visionai.v1.StreamsService.CreateCluster",
"resourceName": "projects/test1-974/locations/us-central1/clusters/application-cluster-0",
"resourceLocation": {
"currentLocations": [
"us-central1"
]
}
},
"insertId": "f9i6w2dleyg",
"resource": {
"type": "audited_resource",
"labels": {
"method": "google.cloud.visionai.v1.StreamsService.CreateCluster",
"project_id": "test1-974",
"service": "visionai.googleapis.com"
}
},
"timestamp": "2024-01-25T22:23:12.147681383Z",
"severity": "ERROR",
"logName": "projects/test1-974/logs/cloudaudit.googleapis.com%2Factivity",
"operation": {
"id": "projects/test1-974/locations/us-central1/operations/operation-1706221325288-60fcc9c0082d9-c96a5631-1f3dae3b",
"producer": "visionai.googleapis.com",
"last": true
},
"receiveTimestamp": "2024-01-25T22:23:12.980264608Z"
}
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"status": {
"code": 13,
"message": "Cluster Creation failed, step: cluster_creation."
},
"authenticationInfo": {
"principalEmail": "[removed from post]@gmail.com"
},
"requestMetadata": {
"requestAttributes": {},
"destinationAttributes": {}
},
"serviceName": "visionai.googleapis.com",
"methodName": "google.cloud.visionai.v1.PlatformUI.CreateUIStream",
"resourceName": "projects/test1-974/locations/us-central1/uistreams/quickstart-stream-2",
"resourceLocation": {
"currentLocations": [
"us-central1"
]
}
},
"insertId": "tp1qhwd5tup",
"resource": {
"type": "audited_resource",
"labels": {
"service": "visionai.googleapis.com",
"method": "google.cloud.visionai.v1.PlatformUI.CreateUIStream",
"project_id": "test1-974"
}
},
"timestamp": "2024-01-25T22:23:18.984988752Z",
"severity": "ERROR",
"logName": "projects/test1-974/logs/cloudaudit.googleapis.com%2Factivity",
"operation": {
"id": "projects/test1-974/locations/us-central1/operations/operation-1706221325060-60fcc9bfd0ae8-ec860cb4-26467f31",
"producer": "visionai.googleapis.com",
"last": true
},
"receiveTimestamp": "2024-01-25T22:23:19.089738340Z"
}
Any solution or hack here?
Thanks in advance.
In my experience, Vertex Vision AI has been abandoned by google and they do not provide support nor bugfixes. It's much easier to build something from scratch using yolo and python.
Getting the same error, wasted a few hours on this only because I have a lot of credits on GCP, I was successful in using the cloud intelligence api v1 from google cloud (which is supposed to be ancient) to get the object bboxes for my task, the models themselves are bad but at least it is pretty straightforward api than this no-code nonsensical UX that you have to deal with in Vertex.