Coder Social home page Coder Social logo

ichibod / object-detection-for-coreml Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 0.0 17 KB

Python scripts for use with Turi Create to output a Xcode compatible mlmodel file for use with machine learning object detection with the CoreML or Vision frameworks.

License: GNU General Public License v3.0

Python 100.00%
apple coreml machine-learning python vision-framework xcode

object-detection-for-coreml's People

Contributors

ichibod avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

object-detection-for-coreml's Issues

empty annotations in Turi Create visualization tool after running prep.py

Hello!

I'm hoping you can help me here...
I've gotten down to the part where we are prepping and training, however, I'm noticing that after running prep.py, the Turi Create visualization tool has an empty dictionary of annotations for each image.

I know this is probably user error, but is there anything you might suspect I'm doing here to cause this?
Thanks,
David

prep.py column issue

I receive the following error when running prep.py:


Traceback (most recent call last):
  File "prep.py", line 33, in <module>
    data['annotations'] = SArray(data=annotations, dtype=list)
  File "/home/rpinglet/venv/local/lib/python2.7/site-packages/turicreate/data_structures/sframe.py", line 3585, in __setitem__
    self.add_column(sa_value, key, inplace=True)
  File "/home/rpinglet/venv/local/lib/python2.7/site-packages/turicreate/cython/context.py", line 49, in __exit__
    raise exc_type(exc_value)
RuntimeError: Column "annotations" has different size than current columns!

I used the Simple Image Annotator, which worked well. The convert.py also seems to have worked as expected. Is there a change that needs to be made to annotations after convert.py has completed?

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.