Giter Site home page Giter Site logo

Comments (5)

rromanchuk avatar rromanchuk commented on June 12, 2024 2

@khilller the order of keys is NOOP, he's just alpha sorting the keys like a good netizen

from rectlabel-support.

khilller avatar khilller commented on June 12, 2024 1

@rromanchuk I totally missed 'NOOP'. I'm a noob, but i understand now. The JSON was missing a label attribute which was why coreML was throwing and error. But it works now. Thank you

from rectlabel-support.

rromanchuk avatar rromanchuk commented on June 12, 2024 1

@khilller it's generally a mess 🤣 and poorly documented

With Sonoma/CreateML 5, there's even a new new json schema, well at least an arbitrary half-example for training in swift.
https://developer.apple.com/documentation/CreateML/creating-a-multi-label-image-classifier If you browse the developer forums you will find you are not alone.

from rectlabel-support.

rromanchuk avatar rromanchuk commented on June 12, 2024

Also, there is no key image, it's imagefilename

[{
  "imagefilename": "breakfast_0.png",
  "annotation": [
    {
      "coordinates": {
        "y": 156.062,
        "x": 195.122,
        "height": 148.872,
        "width": 148.03
      },
      "label": "Waffle"
    }
  ]
}]

https://developer.apple.com/documentation/createml/building-an-object-detector-data-source

from rectlabel-support.

khilller avatar khilller commented on June 12, 2024

@rromanchuk You're right! its imagefilename, but suprisingly the key:image worked for me. Do you reckon a workaround for sorting the keys as per these docs?

from rectlabel-support.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.