Giter VIP home page Giter VIP logo

benchmark_deep-learning-models's Introduction

Benchmark_deep-learning-models

The code in this repo enables you to download the benchmark deep learning Keras models as files saved to your system. All these benchmark models are pretrained on the imagenet dataset.
Each available network is identified by a unique I.D. , the type of network can be infereded from the i.d.

Thanks to Adrian Rosebrock for his inspiring post https://www.pyimagesearch.com/2017/03/20/imagenet-vggnet-resnet-inception-xception-keras/

These are the list of avilabile I.D.s: ["InceptionV3","ResNet50","VGG16","VGG19","NASNetMobile","NASNetLarge","InceptionResNetV2","MobileNet","DenseNet121","DenseNet169","DenseNet201"]

Download benchmark model

You can choose a certain model to save to your computer (for ex InceptionV3)
python deepModelsSaver.py --networkName InceptionV3

you can also download all the models to your computer as follows
python deepModelsSaver.py --networkName all

image classification using a benchmark model

you can choose to classify a certain image with an imagenet label with a certain model as follows:
python benchMarkModelPredictor.py --networkName NASNetLarge --img_path images/dog_beagle.png

Sample classiffication

Classification of a folder of images using a benchmark model

you can choose to classify a collection of images in a folder with an imagenet label with a certain model as follows:

python benchMarkModelPredictorFolder.py --networkName NASNetLarge --folder_path imagenet_images

A video will be created showing results of classification.

Credits

Imagenet images were downloaded using https://github.com/mf1024/ImageNet-Datasets-Downloader

benchmark_deep-learning-models's People

Contributors

walid-ahmed avatar

Stargazers

 avatar

Watchers

 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.