Code Monkey home page Code Monkey logo

finalmnist's Introduction

该程序时按照《TensorFlow实现Goole深度学习框架》一书中的5.5节代码。
该项目将训练和测试分成两个独立的程序,这可以使得每一个组件更加灵活。比如训练神经网络的程序可以持续训练出好的模型,而测试程序可以每隔一段时间检验新模型的正确率,
如果模型效果更好,则将这个模型提供给产品使用。除了将不同功能模块分开,该项目还将前向传播的过程抽象成一个单独的库函数。因为神经网络的前向传播过程在训练和测试的过程都会用到,
所以通过库函数的方式使用起来可以更加方便,又可以保证训练和测试过程中使用的前向传播方法一定时一致的。

该项目主要分为三个程序:
    第一个是mnist_inference.py,它定义了前向传播的过程以及神经网络中的参数。
    第二个是mnist_train.py,它定义了神经网络的训练过程。
    第三个是mnist_eval.py,它定义了测试过程。

finalmnist's People

Contributors

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