2

I have uploaded 22 images and tagged with 2 tags.

But when I click start training I get an "Invalid arguments of request".

The images have been uploaded through the interface. I had to manually create the bucket.

What can have gone wrong? I have attached a screenshot.

google cloud automl

Kevin Simper
  • 1,669
  • 19
  • 32

2 Answers2

4

This is likely the same error as in Google AutoML training error

Each image is assigned for one of TRAIN, VALIDATION, and TEST set. You have enough labeled images, but not enough images assigned for VALIDATION or TEST. Adding images for these two sets should solve this issue.

The best way of adding images to specified sets is importing a CSV file.

Tiger Soldier
  • 361
  • 2
  • 4
  • How can I assign images to VALIDATION and TEST ? I am using upload files from my computer option to try it instead of the CSV. – Aftab Naveed Dec 13 '18 at 23:34
0

According to Preparing your training data

If you use csv file to import data, you need to assign the content to specific data set. (You need to upload your file to GCS first)

Ex.

TRAIN, gs://{YOUR_BUCKET_NAME}/{OBJECT_NAME_1}, {LABLE}
VALIDATION, gs://{YOUR_BUCKET_NAME}/{OBJECT_NAME_2}, {LABLE}
TEST, gs://{YOUR_BUCKET_NAME}/{OBJECT_NAME_3}, {LABLE}

or do not assign the data set, AutoML automatically places it in one of the three sets

gs://{YOUR_BUCKET_NAME}/{OBJECT_NAME_1}, {LABLE}
gs://{YOUR_BUCKET_NAME}/{OBJECT_NAME_2}, {LABLE}
gs://{YOUR_BUCKET_NAME}/{OBJECT_NAME_3}, {LABLE}
KD Chang
  • 141
  • 1
  • 5