简体   繁体   中英

Google Cloud Platform - Vertex AI training with custom data format

I need to train a custom OCR in vertex AI. My data with have folder of cropped image, each image is a line, and a csv file with 2 columns: image name and text in image. But when I tried to import it into a dataset in vertex AI, I see that image dataset only support for classification, segmentation, object detection. All of dataset have fixed number of label, but my data have a infinite number of labels(if we view text in image as label), so all types doesn't match with my requirement. Can I use vertex AI for training, and how to do that?

Since Vertex AI managed datasets do not support OCR applications, you can train and deploy a custom model using Vertex AI's training and prediction services.

I found a good article on building an OCR system from scratch. This OCR system is implemented in 2 steps

  1. Text detection
  2. Text recognition

Please note that this article is not officially supported by Google Cloud.

Once you have tested the model locally, you can train the same on Vertex AI using the custom model training service . Please follow this codelab for step-by-step instructions on training and deploying a custom model.

Once the training is complete, the model can be deployed for inference using a pre-built container offered by Vertex AI or a custom container based on your requirements. You can also choose between batch predictions for synchronous requests and online predictions for asynchronous requests.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM