Git Product home page Git Product logo

vgg16_keras_tensorflow's Introduction

VGG16_Keras_TensorFlow

This is a image classification by VGG16 pre-trained model.

Envoriment

Python3.5
Keras2.0
TensorFlow
Windows10
Most py-package (such like numpy or cv2...) you can install by pip install xx.whl from here.

Steps

Download the weight file 'vgg16_weights_tf_dim_ordering_tf_kernels.h5'. In here and download it.
Put the weight file into data/model

Used Files

model/synset_words.txt : map class id (which is equal to line id) to synset_id and human words. For example, If you get the prediction id is 281, then you should out put the 281th content in synset_words.txt. model/vgg16_weights_tf_dim_ordering_tf_kernels.h5: special VGG16 pre-trained weight file for Keras2.

Hint

Mind the path which is used in windows. If you are UNIX player, should change the format.
Any other errors happen you can check my blog.
You should be careful with the Keras's backend (th:theano or tf:tensorflow), because they have different mat size format.

Resource

About model you can find in Github-Glist.
About VGG16 network structure find in here.

Please

Give me a star. Thks.

vgg16_keras_tensorflow's People

Contributors

luntai avatar neu-lijinxu avatar

Watchers

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