Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Document AI, Custom Classifier - Internal Error when Training

I have created a custom classifier in document AI.

I have reduced the labels, training documents, and testing documents to the minimum allowed to get the classifier to train, but it always fails.

  • Labels = 2
  • Training Documents = 10
  • Testing Documents = 2

Training fails with the following error:

{
"name": "xxxx",
"done": true,
"result": "error",
"response": {},
"metadata": {
"@type": "type.googleapis.com/google.cloud.documentai.uiv1beta3.TrainProcessorVersionMetadata",
"commonMetadata": {
"state": "FAILED",
"createTime": "2024-09-27T16:04:48.662993Z",
"updateTime": "2024-09-27T16:16:25.687423Z",
"resource": "xxx"
},
"trainingDatasetValidation": {},
"testDatasetValidation": {}
},
"error": {
"code": 13,
"message": "Internal error encountered.",
"details": []
}
}

I do not know where to get any additional details, please advise.

 

0 2 205
2 REPLIES 2