While parsing records, the following error is returned: Please ensure you are
not using an empty dataset, and that your dataset matches the type of model you
are trying to train.
The dataset records might be corrupted in one of the following ways:
Missing a label
The labeled data has a different annotation class to the custom model
you're trying to train.
The document is smaller than 32 x 32 pixels.
A file is password-protected.
A file is corrupt.
.
Check that the documents are labeled and label any that aren't.
Confirm that the labeled data has the same annotation class as the
custom model you're trying to train.
Key value extraction models consume labeled data of a key-value
annotation class, and document classification models consume labeled
data of single-class classification annotation class.
Remove any documents with dimensions smaller than 32 x 32 pixels.
If any files are password-protected, remove the protection.
Remove any corrupted files.
Not Enough Samples to Split Dataset into Train, Validation, and Test Sets 🔗
Training a dataset fails with the error: Not enough samples to split dataset into
Train, Validation and Test sets. Ensure the required number of samples for each
class are in the dataset.
The error might also include information the number of records for each label. For example: {'a': {'val': 1, 'test': 1, 'train': 3}, 'b': {'val': 0, 'test': 0, 'train': 3}}
There aren't enough valid records for each label. In the example error, there
aren't enough records for label "b" (only three documents are labeled). Label
two more records with label b to resolve the issue.
Add more records for the labels that don't have enough.
Error while Loading the Visual Model 🔗
While loading the model you get the following error: Error while loading the
visual model. Please check the base model version.
Creating a custom model fails with the following error: Create Model failed
because the given training dataset with OCID does not exist, or has too few
Records or Annotations.
The dataset is incomplete or doesn't exist.
Make the dataset available.
Give it the required number of records and annotations.
Invalid DLS Dataset Annotation Type 🔗
When using a dataset from Data Labeling, you get the
following error: Invalid dls dataset annotation type. There is a mismatch in
the model type and dls dataset annotation type. Please select a dataset with
<> annotation type for <> model type.
Status Code: 400
The dataset format and model type don't match.
Correct the dataset format and model type so they
match.
Error Occurred during Dataset File () Validation 🔗
When using a custom model, you get the error:
Error occurred during dataset file () validation. Invalid annotationFormat:
<> Please check annotationFormat inside dataset file. Expected
annotationFormat is <>
Status Code: 400
The dataset format and model type don't match.
Correct one of the dataset format or the model type, so that they
match.
Fail to Export the Annotation File for DLS Dataset 🔗
When using a dataset from Data Labeling, you get the
following error: Fail to export the annotation file for dls
dataset.
All Classes should have at Least {MIN_REQUIRED_SAMPLES} Samples for Data Split 🔗
When using a custom model, you get the error: All classes should have at
least {MIN_REQUIRED_SAMPLES} samples for data split. Classes ["a", "b"] have
less than required number of samples.
The input dataset is missing records for the labels mentioned. In the example,
the labels a and b are missing records.
Add the necessary records to the labels mentioned in the error
message.