Giter Site home page Giter Site logo

keras-squeezenet's Introduction

keras-squeezenet Build Status

SqueezeNet v1.1 Implementation using Keras Functional Framework 2.0

This network model has AlexNet accuracy with small footprint (5.1 MB) Pretrained models are converted from original Caffe network.

pip install keras_squeezenet

News

  • Project is now up-to-date with the new Keras version (2.0).

  • Old Implementation is still available at 'keras1' branch but not updated.

Library Versions

  • Keras v2.1.1
  • Tensorflow v1.4

Example Usage

import numpy as np
from keras_squeezenet import SqueezeNet
from keras.applications.imagenet_utils import preprocess_input, decode_predictions
from keras.preprocessing import image

model = SqueezeNet()

img = image.load_img('../images/cat.jpeg', target_size=(227, 227))
x = image.img_to_array(img)
x = np.expand_dims(x, axis=0)
x = preprocess_input(x)

preds = model.predict(x)
print('Predicted:', decode_predictions(preds))

References

  1. Keras Framework

  2. SqueezeNet Official Github Repo

  3. SqueezeNet Paper

Licence

MIT License

Note: If you find this project useful, please include reference link in your work.

keras-squeezenet's People

Contributors

rcmalli avatar jeremykawahara avatar tariqahassan avatar uetchy avatar

Watchers

James Cloos avatar David Watts 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.