Text Classification Model Import File Error

26 views
Skip to first unread message

Ramachandren Shankar

unread,
Jul 21, 2021, 10:40:28 AM7/21/21
to cloud-nl-discuss
I'm trying to train a text classification model and I'm creating the import file exactly how they describe it in Preparing text training data. However, I keep getting the following error:

Error: Could not parse the line, not a valid json: Cannot find field: classificationAnnotations in message google.cloud.aiplatform.master.schema.TextClassificationSingleLabelIoFormat.

What am I doing wrong? Has the import file structure been changed?

Thanks!

oakinlaja

unread,
Jul 21, 2021, 6:38:29 PM7/21/21
to cloud-nl-discuss
As you may have guessed, this error seems to  relate with the Structure of your JSON. To further review what may be causing your issue, we would probably require reviewing the file being parsed. Considering that, I recommend you contact the GCP Support Engineers[1] or you can open an issue using this link[2]. This will allow the team to review your file and setup and determine what may be causing the issue. 

I have no information at the moment suggesting that the Import File Structure has been recently changed. 
Reply all
Reply to author
Forward
0 new messages