Error creating a custom model of KEY_VALUE_EXTRACTION in OCI Document Understanding Annotations.
Summary:
I am trying to create a custom model of KEY_VALUE_EXTRACTION . I have all the labeled data from the label studio in the desired format but still getting the annotations error and Parsing document error. All the data has been stored in the object storage as expected like in the hierarchy.
Content (please ensure you mask any confidential information):
Error Messages :
- Create Model Failed. Training failed. Failed training details Error while parsing the annotations.Total valid annotations: 0 , Expected: 5 annotations for training, Invalid entries: 19 Images, 0 Annotations
- Create Model Failed. Training failed. Failed training details """ Traceback (most recent call last): File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/joblib/_utils.py", line 72, in __call__ return self.func(**kwargs) File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/joblib/parallel.py", line 598, in __call__ return [func(*args, **kwargs) File "/opt/rh/rh-python38/root/usr/local/lib/python3.8/site-packages/joblib/parallel.py", line 598, in <listcomp> return [func(*args, **kwargs) File "/vs-custom-model/main/kie/ls_record_parser.py", line 39, in parse_record labels = annotation[f"labels_{page_number}"] KeyError: 'labels_0' """
Tagged:
0