Code Monkey home page Code Monkey logo

tensorflow-minist's Introduction

tensorflow-minist

TensorFlow与Flask结合打造手写体数字识别

视频学习网站:https://www.imooc.com/learn/994

environments:python3.5 win764位

课程目录

  • TensorFlow框架介绍
  • MNIST数据集及模型建立
  • Flask框架建立
  • MNIST模型与FLask框架整合
// 主要目录
├─mnist
        │  convolutional.py// 卷积模型
        │  input_data.py  //下载数据集,官网上也有,其他py文件可以调用此文件进行下载数据
        │  model.py       // 两个模型初始化
        │  regression.py  // 线性回归模型
        │
        ├─data
        │      regression.ckpt.data-00000-of-00001
        │      regression.ckpt.index
        │
        ├─MNIST_data  // 下载的数据集
        │      t10k-images-idx3-ubyte.gz
        │      t10k-labels-idx1-ubyte.gz
        │      train-images-idx3-ubyte.gz
        │      train-labels-idx1-ubyte.gz

├─main.py   // flask,制作接口

├─src              // 前端代码
        │  └─js
        │          main.js
        │
        ├─static
        │  ├─css
        │  │      bootstrap.min.css
        │  │
        │  └─js
        │          echarts.all.js
        │          echarts.common.min.js
        │          echarts.min.js
        │          jquery.min.js
        │          main.js
        │
        └─templates
                index.html   // 前端界面显示入口
  1. 基础知识

error

AttributeError: module 'input_data' has no attribute 'read_data_sets'

tensorflow-minist's People

Contributors

huangcongqing avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tensorflow-minist's Issues

mnist-import input_data报错。

在最开始

import input_data
会发现input_data报错。

在网上查找解决方案

解决方案:

from tensorflow.examples.tutorials.mnist import input_data

https://blog.csdn.net/qq_37023388/article/details/81077981

然后又报个
FutureWarning: Conversion of the second argument of issubdtype from floattonp.floating is

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.