GithubHelp home page GithubHelp logo

gotalk's Introduction

gotalk

这是我在 QCon 北京 2017 演讲 的配套代码。

基于 Go 实现了一个深度学习看图说话服务,即机器学习的 serving(inference) 部分,Tensorflow 的 Python 训练代码在 这里

代码了实现了 tensorflow 模型导入、输入输出和 LSTM beam search 功能,并实现了 web 服务。

我打包的 Docker 镜像中已经包含了所有模型文件,可以直接运行,见 docker hub

模型文件由 free_tf_model 工具 从 tf.train.Saver 保存的 checkpoint 生成,对于图说这个项目,训练代码保存的 checkpoint 无法直接用,需要通过 这个代码 中的 save_model.py 工具转化成 inference 模型后再调用 free_tf_model。

gotalk's People

Contributors

huichen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.