Coder Social home page Coder Social logo

xinyang-zhang / mnist Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 3.0 246.77 MB

MNIST using tensorflow, c++ and fpga (zynq7010)

Python 0.01% Verilog 21.83% VHDL 56.87% Pascal 0.01% SystemVerilog 0.51% V 0.61% C 4.75% HTML 13.94% Tcl 0.52% Shell 0.50% Stata 0.17% Forth 0.01% JavaScript 0.15% Batchfile 0.01% 1C Enterprise 0.01% SuperCollider 0.03% C++ 0.01% Makefile 0.05% Assembly 0.05% CartoCSS 0.01%

mnist's Introduction

MNIST

MNIST using tensorflow, c++ and fpga (zynq7010)

Python version is from Internet, and it can reach to 98% precision. C++ versions are modified from Internet, and it can reach 82.3% precision in validation. C++ version added batch normalization treatment compared to the resources from Internet, which allows it to use 2 conv layers and 1 fcnn layer. Compiling C++ version requires a lot of time(6 days), but the aim is to get a CNN structure for further FPGA study, so I didn't optimize it. C++ version can also store .coe files for FPGA usages.

ZYNQ7010 is chosen as FPGA. There are 2 projects and the "serial" one can be implemented because of its low resource cost. These 2 projects can both treat data within one frame time of ov5640 (1280x720), so despite of the serial structure, the "serial" one can also achieve real-time data processing.

mnist's People

Contributors

xinyang-zhang avatar

Stargazers

 avatar Lazaruz-Bologon avatar Kenneth avatar sansan avatar king of highbury avatar  avatar  avatar Xiaoxiao avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Cappuccino avatar

Watchers

Kostas Georgiou avatar  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.