Can't Repro
Status Update
Comments
va...@google.com <va...@google.com>
ar...@google.com <ar...@google.com> #2
Hello,
To troubleshoot the issue further, I have created a private ticket to provide some information about the issue (for which you should have received a notification). Please provide requested information there. Don't put any personal information, including project identifiers in this public ticket.
ar...@google.com <ar...@google.com> #3
Hello,
Thank you for your engagement regarding this issue. We haven’t heard back from you regarding this issue for sometime now. Hence, I'm going to close this issue which will no longer be monitored. However, if you have any new issues, Please don’t hesitate to create a new issue on the
Description
I've run the batch prediction before for 7,503 images, it worked flawlessly for only ~ 32 mins elapsed time.
While predicting 20 image, few days ago, somehow, the batch prediction longer with around 1 hour 21 mins elapsed time so I need to cancel the job due to duration prediction that will be impacting to cost.
I've check the VIEW DETAILS and the View Logs it gave me nothing. Do someone has facing the same issue? or know the solution?
My data input for batch prediction, already looked like this documentation here:
Input .jsonl
{"content": "gs://bucket_name/folder/sub_folder/JPEG_01.jpg", "mimeType": "image/jpeg"}
{"content": "gs://bucket_name/folder/sub_folder/JPEG_02.jpg", "mimeType": "image/jpeg"}
My script for batch prediction
def create_batch_prediction_job(job_display_name, data_input_path, result_prediction_path, model_resource_name):
aiplatform.init(project=project_id, location=region_id)
model = aiplatform.Model(model_resource_name)
batch_prediction_job = model.batch_predict(
job_display_name = job_display_name,
gcs_source = data_input_path,
gcs_destination_prefix = result_prediction_path,
sync = True,
)
batch_prediction_job.wait()
print(f"Batch Prediction Job Name: {job_display_name}")
print(f"Batch Prediction Job : {batch_prediction_job.resource_name}")
print(f"\nState")
print(batch_prediction_job.state)
return batch_prediction_job