TFI: 在一行代码中使用任何TensorFlow模型

TFI: Use any TensorFlow model in a single line of code

TFI provides a simple Python interface to any TensorFlow model. It does this by automatically generating a Python class on the fly.

Here’s an example of using TFI with a SavedModel based on Inception v1. This particular SavedModel has a single predict method and a SignatureDef that looks something like: predict(images float <1,224,224,3>) -> (categories string <1001>, scores float <1,1001>)

项目地址:https://github.com/ajbouh/tfi

Related posts

Leave a Comment