Giter Club home page Giter Club logo

keras-transfer-learning's Introduction

Keras model retraining

This project offers funtionality for training a top model over a pre-loaded keras model, fine tuning some layers of a pre-loaded model and retraining a pre-loaded model. There is also an option to train a simple CNN from scratch. The keras models supported for fine-tuning/retraing are:

The TransferModel class in src/keras_transfer_learning.py wraps model functionality and src/train_helper.py offers a training suite.

It is recommended to keep data specific code in seperate scripts. See branch planet-amazon-kaggle-src (currently outdated, sorry) for an example of using the retraining functionality on data of the Planet: Understanding the Amazon from Space kaggle competition.

Make sure to use python 3, some code is not compatible with python 2

This project was inspired from:
https://github.com/EKami/planet-amazon-deforestation
I recommend it for a wonderful jupyter notebook breakdown of training a CNN on competition data.

Requirements
matplotlib==2.0.2
Keras==2.0.6
numpy==1.13.1
tensorflow_gpu==1.2.1
pandas==0.20.1
h5py==2.7.0
kaggle_data==0.1
tqdm==4.14.0
Pillow==4.2.1
seaborn==0.8
scikit_learn==0.19b2

keras-transfer-learning's People

Contributors

ekami avatar jasper2xf avatar jamesrequa avatar

Watchers

James Cloos avatar Mohammed Khamis Amro 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.