3 Replies
      Latest reply on Dec 4, 2019 9:30 PM by Alzin Mohamad Ghaith
      allie123 Level 1 Level 1 (0 points)

        Hi, I'm trying to build an object detector model using create ml. After a lot of exploration, I figured the annotation.json format which is expected by the training input. It's something like this:

         

         

        [{"image":"orange_1.jpg",
        
             "annotations":[
        
             {"label":"orange","coordinates":{"y":1132,"x":781,"width":413,"height":394}},
        
             {"label":"orange","coordinates":{"y":1167,"x":308,"width":397,"height":375}}
        
              ]
        
             }
        ]

         

        On running the training, I get the following error:

        Training Error. Unxpected JPEG decode failure.

         

        I confirm that the file name is exactly the same in the training folder.

         

        Any leads on how to go about this?