tobegit3hub / simple_tensorflow_serving

Generic and easy-to-use serving service for machine learning models
https://stfs.readthedocs.io
Apache License 2.0
757 stars 193 forks source link

Fix ImportError(s) for binary entry point using relative imports #20

Closed chiragjn closed 6 years ago

chiragjn commented 6 years ago

Additional changes:

Both python setup.py install and building the wheel like python ./setup.py bdist_wheel --universal && pip install dist/simple_tensorflow_serving-0.4.7-py2.py3-none-any.whl seem to be working

I tested this on MacOS - Py 3.6 Ubuntu Linux 14.04 - Py 2.7

chiragjn commented 6 years ago

Should fix #13 and #17

tobegit3hub commented 6 years ago

Thanks @chiragjn and the work is really great.

I will try to test it soon and merge if it works.

tobegit3hub commented 6 years ago

I will merge this and thanks for the contribution of @chiragjn 👍

This have been tested in Python 2.7 and Python 3.4 and has uploaded the package of version 0.4.7 which can be used by pip install -U simple_tensorflow_serving>=0.4.7.

Furthermore, I will remove the dependencies of tensorflow, mxnet and so on in this package.