diff --git a/python/paddle_serving_app/__init__.py b/python/paddle_serving_app/__init__.py index 3db901249df41f5d9cd5846d131ec6cfed376a18..860876030695baee15d3ace68c6af386290cfbb0 100644 --- a/python/paddle_serving_app/__init__.py +++ b/python/paddle_serving_app/__init__.py @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. from .reader.chinese_bert_reader import ChineseBertReader -from .reader.image_reader import ImageReader +from .reader.image_reader import ImageReader, File2Image, URL2Image, Sequential, Normalize, CenterCrop, Resize from .reader.lac_reader import LACReader from .reader.senta_reader import SentaReader from .models import ServingModels diff --git a/python/paddle_serving_app/reader/__init__.py b/python/paddle_serving_app/reader/__init__.py index 847ddc47ac89114f2012bc6b9990a69abfe39fb3..61f1bfed083e3bb7cf158a6301b61eb5df8679c5 100644 --- a/python/paddle_serving_app/reader/__init__.py +++ b/python/paddle_serving_app/reader/__init__.py @@ -11,3 +11,4 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +from .image_reader import ImageReader, File2Image, URL2Image, Sequential, Normalize, CenterCrop, Resize