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.
it's similar to what's listed above:
{"code":"BadRequestImageBatch","message":"No valid image files"}
I've checked the call with 20 images per batch and still it's the same error. The same code will work if I am creating a new project and then training... If I find an existing project and create a new iteration, it will fail
@Bryan Leighton Is it possible to open an issue on our SDK repo issues page with the details of this error? This could be a bug that can be addressed by our team working on the SDK.
Will do! Thank you @romungi-MSFT
Sign in to comment