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 for #39 and #40 #41

Closed yzxchn closed 5 years ago

yzxchn commented 5 years ago

For #39, it appears that the issue was caused by the lines

from __future__ import absolute_import

then

from abstract_inference_service import AbstractInferenceService

The new absolute import does not allow importing sibling files without explicitly specifying the path (i.e. from .abstract_inference_service import AbstractInferenceService)

For #40, added pillow as one of the dependencies during installation.

tobegit3hub commented 5 years ago

Thanks @yzxchn and I will test this PR soon.

tobegit3hub commented 5 years ago

It works like a charm. Thanks for your contribution @yzxchn 👍