Custom Vision BadRequestImageBatch on Existing Project Training
I am coming across the error:
ERROR:root:Error Code: BadRequestImageBatch
ERROR:root:Error Message: No valid image files
ERROR:root:Error Response: <Response [400]>
This Error happens when a new iteration is attempted to be trained on an existing CustomVision Project. 400 represents an invalid syntax, however the Image Batch passed to the trainer.create_images_from_files(project_id, batch)
is populated with the correct information, and the project id exists.
Interestingly, when we create a new project and run the same logic, the training will succeed just fine. This only happens when a train is attempted on an existing project.