Skip to content

Tutorials how to use keras for machine learning

Notifications You must be signed in to change notification settings

RAHULPRRAHUL/keras_tutorials

 
 

Repository files navigation

Tutorials using keras for Machine learning

Here I will add notebooks about how to use keras for training private datasets. This means, wild data that you own or are not a built-in function of other python library.

For the moment I have the following tutorials:

Added on 20180418.

Here you can see:

  • How to train a keras model using Fully Connected (FC) Layers. FC are also called multilayer perpectrons.
  • How to train images from disk (HDD) by batch. In order words, only load them into memory when training in a given batch.
  • How to train using manual features, in this case a histogram of all the channels of an image.

Added on 20180419.

Here you can see:

  • how to train an image classification model using Convolutional Neural Networks (CNN).
  • how to train using images inside a zip file, by batch. In order words, only load them into memory when training in a given batch, without unziping all the content of the zip file.
  • how to save and restore a keras model.

Added on 20180428.

Here you can see:

  • How to annotate the position of an object in a group of images for a further object localization process.
  • How to use the VGG annotator tool for this purpose.
  • How to export the metadata that holds the position of the objects as a JSON file.
  • How to extract the data from the JSON file into a usable format, a pandas DataFrame.
    You can see the process here: https://youtu.be/MRkdgOoUqFk

Added on 20180428

This is an example of a html file alone that shows how to use a keras model, transformed using the tensorflow.js tool, for prediction of a Star craft 2 unit. Here you can see:

  • How to load the tensorflow.js
  • How to load your model (model.js)
  • How to upload an image and change its format so you can feed it into the keras trained model.

Important: In order to make it work you need to place the model into a web server, just your browser is not enough.

About

Tutorials how to use keras for machine learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.8%
  • HTML 1.1%
  • JavaScript 0.1%