TFI: 在一行代码中使用任何TensorFlow模型
fendouai
•
2017年9月15日 am10:11
•
TensorFlow, TensorFlowNews, TensorFlow函数, TensorFlow安装, TensorFlow实战, TensorFlow教程, 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
原创文章,作者:fendouai,如若转载,请注明出处:https://panchuang.net/2017/09/15/tfi-use-any-tensorflow-model-in-a-single-line-of-code/