Giter VIP home page Giter VIP logo

tensorflow-poems's Introduction

TensorFlow-Poems

A poems-robot of Tensorflow

环境介绍:

  • python 3.6
  • TensorFlow 1.2
  • i5-6200U(笔记本)

##实现效果 我们在命令行中输入:

python main.py --train

开始训练数据:

![这里写图片描述][https://img-blog.csdn.net/20180809152554661?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzMwNjExNjAx/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70]

训练结束后,我们继续输入命令,让机器人开始作诗:

python main.py --no-train

假如我们让机器人作一首以“春”字开头的诗。

我们可以看到机器人为我们写好了一首诗:

![这里写图片描述][https://img-blog.csdn.net/20180809152609899?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzMwNjExNjAx/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70]

##相关文章:

  1. TensorFlow7: 基于RNN生成古诗词
  2. Tensorflow:基于LSTM轻松生成各种古诗

tensorflow-poems's People

Contributors

quanfita 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.