Coder Social home page Coder Social logo

wm811_automl's Introduction

============== (Julius) Based on the dataset to benchmark AutoML

This repo provide a wafer-inseption pototype include all tensorflow profiler tools.(tensorboard, timeline)
PS. Loging hardware message by timline cause huge overhead, pls turn it off if you don't need it.
You can also use NVprofiler(.nvvp) to moniter your model performance without overhead.

You can easiely import an other neural network to your application by modify model_zoo. The coding style is friendly for beginer.

run under: python 2.7 in tensorflow1.4 cudnn6.1 cuda8.0

Get start

Few folder for log info. you need to build.

mkdir -p logs/train/meta
mkdir -p logs/train/tfbord
mkdir -p logs/train/timeline
mkdir -p logs/test/tfbord
mkdir -p logs/test/timeline

Execute pkl2tfrecord.py in dataset to build dataset, or use the sub dataset We provide in this repo
Execute model_train.py to start training. But make sure your dataset is place on the right TRRECORD_PATH
Execute model_restore_wafer.py can get the trained model to do the final test.

option

if you need full dataset:
You can download dataset here: https://www.kaggle.com/qingyi/wm811k-wafer-map
In the link, is a .pkl file. We provide a pkl2tfrecord.py script in dataset After turn dataset into tfrecord, you can start your training.

profiler

tensorflow timeline

use chrome forchrome://tracing, load file logs/test/timeline

tensorboard

use cmd in logs/test/tfbord
tensorboard --logdir=./
use browser goto localhost:6006

nvprof (nvidia virtual profiler)

nvprof [-f] -o ./logs/nvvp/name.nvvp python model_train.py

Current result

#accuracy up to 97%

`

  70000 training data 10w testing data
       resnet 50 epec
               train accuracy:  0.9894
               test accuracy:   0.948283950617
        wnet 82 epec
               train accuracy:  0.9977
               test accuracy:   0.973216049383

      inception_v4
              train accuracy:  0.9937
              test accuracy:   0.975475308642

`

wm811_automl's People

Contributors

medicjue avatar

Stargazers

 avatar

Watchers

James Cloos 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.