News for hackers. Stuff that matters.
Re:Core ML: Integrate machine learning models into your app by ajay-d on Tuesday June 06, 2017 @11:39AM (#14498039)
The python package, coremltools, to convert the trained model is only for python 2.7??
Re:Core ML: Integrate machine learning models into your app by breatheoften on Tuesday June 06, 2017 @12:01PM (#14498231)
Is python3 shipped on OS X by default? I'm not sure why they are still shipping 2.x -- anyone know if 3.x will be shipped in high sierra?

A bit disappointed that the model conversion tool only supports an older version of Keras as well (1.2.2). Keras 2.0 is pretty new but I hope they update the conversion tools for it quickly ...

I wonder if the conversion tool will be open source ... seems like they'd want to support the widest net of external models since they don't yet have a way to produce .coreml models directly. Or maybe the intent is to augment Keras/caffe/etc to support saving .coreml directly?

Re:Core ML: Integrate machine learning models into your app by jdr0317 on Wednesday June 07, 2017 @12:37PM (#14507794)
Both python 2 (/usr/bin/python) and python 3 (/usr/bin/python3) are shipped by default on Ubuntu.

Right now, coremltools is only available for Python 2.7 (https://pypi.python.org/pypi/coremltools), which is annoying as the entire code base I've worked on for months at my current firm is in Python 3.6. Hopefully this is updated soon for Python 3 support.

Re:Core ML: Integrate machine learning models into your app by saagarjha on Tuesday June 06, 2017 @12:22PM (#14498443)
macOS comes with Python 2 by default.