Code Monkey home page Code Monkey logo

transfer_learning's Introduction

Transfer Learning with Theano

This package demonstrates how to build a transfer learning network effortlessly with Theano and Mozi.

Standard transfer learning also known as multi-task learning or multi-modal learning typically has multiple inputs and multiple outputs. And generally there are two types, Type 1 (Fig 1) has a common shared representation layer where the objective is to map different modalities into a common representation space, while Type 2 (Fig 2) tries to keep individual modality representation space separate, and finally concatenate them to pass through subsequent layers for fine-tuning.

The way to train Type1 and Type2 is also different. For Type 1, you first train 1 -> 3 (Fig 1a) then 2 -> 3 (Fig 1b), while for Type 2, you concatenate the outputs from step 1 and step 2 (Fig 2) before proceeding to step 3 with the concatenated features, i.e 1 + 2 -> 3.

Checkout Type 1 Model and Type 2 Model

transfer_learning's People

Contributors

hycis avatar

Watchers

James Cloos avatar Vikas Raunak 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.