In Vertex AI I am updating an image dataset, thus:
from google.cloud import aiplatform
import_schema_uri = aiplatform.schema.dataset.ioformat.image.single_label_classification
dataset_id = "my_ds_id"
ds = aiplatform.ImageDataset(dataset_id)))
ds.import_data(gcs_source=DATASET_PATH, import_schema_uri=import_schema_uri)
the images are uploaded to the dataset but their labels are ignored and they are classed as Unlabeled. What am I doing wrong? TIA!
PS they are in a csv, like:
gs://path/to/file/barnacles.jpg,label1
which worked fine for the dataset creation.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |