3 ms·
The python package, coremltools, to convert the trained model is only for python 2.7??
by ajay-d 9y ago
The python package, coremltools, to convert the trained model is only for python 2.7??
- breatheoften 9y agoIs 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?
- saagarjha 9y agomacOS comes with Python 2 by default.
- jdr0317 9y agoBoth 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 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.