GithubHelp home page GithubHelp logo

nieshaoshuai / keras Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marcbs/keras

0.0 2.0 0.0 147.03 MB

Keras' fork with several new functionalities. Caffe2Keras converter, multimodal layers, etc.

Home Page: https://github.com/MarcBS/keras

License: Other

Makefile 0.05% Python 99.95%

keras's Introduction

MarcBS/keras Multimodal Learning fork

This fork of Keras offers the following contributions:

  • Caffe to Keras conversion module
  • Layer-specific learning rates
  • New layers for multimodal data

Contact email: [email protected]

GitHub page: https://github.com/MarcBS

MarcBS/keras is compatible with: Python 2.7 and Theano only.

Caffe to Keras conversion module

This module allows to convert Caffe models to Keras for their later training or test use. See this README for further information.

Please, be aware that this feature is not regularly maintained. Thus, some layers or parameter definitions introduced in newer versions of either Keras or Caffe might not be compatible with the converter.

For this reason, any pull requests with updated versions of the caffe2keras converter are highly welcome!

Layer-specific learning rates

This functionality allows to add learning rates multipliers to each of the learnable layers in the networks. During training they will be multiplied by the global learning rate for modifying the weight of the error on each layer independently. Here is a simple example of usage:

x = Dense(100, W_learning_rate_multiplier=10.0, b_learning_rate_multiplier=10.0)  (x)

New layers for sequence-to-sequence learning and multimodal data

Recurrent layers

LSTM layers:

  • LSTMCond: LSTM conditioned to the previously generated word (additional input with previous word).
  • AttLSTM: LSTM with Attention mechanism.
  • AttLSTMCond: LSTM with Attention mechanism and conditioned to previously generated word.

And their corresponding GRU version:

  • GRUCond: GRU conditioned to the previously generated word (additional input with previous word).
  • AttGRUCond: GRU with Attention mechanism and conditioned to previously generated word.

Convolutional layers

Projects

You can see more practical examples in projects which use this library:

ABiViRNet for Video Description

Installation

In order to install the library you just have to follow these steps:

  1. Clone this repository:
git clone https://github.com/MarcBS/keras.git
  1. Include the repository path into your PYTHONPATH:
export PYTHONPATH=$PYTHONPATH:/path/to/keras

Keras

For additional information on the Deep Learning library, visit the official web page www.keras.io or the GitHub repository https://github.com/fchollet/keras.

keras's People

Contributors

fchollet avatar farizrahman4u avatar marcbs avatar lvapeab avatar edersantana avatar maxpumperla avatar phreeza avatar wxs avatar the-moliver avatar matsuyamax avatar tdhd avatar jfsantos avatar staticskies avatar olegsinavski avatar yaringal avatar tleeuwenburg avatar tristandeleu avatar lukedeo avatar henry0312 avatar nzw0301 avatar carlthome avatar dbonadiman avatar gw0 avatar neggert avatar vzhong avatar julienr avatar smerity avatar jdwittenauer avatar kuza55 avatar cmyr avatar

Watchers

James Cloos avatar shuai.nie 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.