Giter Club home page Giter Club logo

timl's Introduction

Task-Informed Meta-Learning

This repository contains examples of Task-Informed Meta-Learning (paper).

We consider two tasks:

Each task acts as its own self-contained codebase - for more details on running the experiments, please check their respective READMEs.

Getting started

For both tasks, anaconda running python 3.6 is used as the package manager. To get set up with an environment, install Anaconda from the link above, and (from either of the directories) run

conda env create -f environment.yml

Once the environment is activated, the main script to train the models is then deep_learning.py, with the model configurations controlled by the config.py file.

The trained TIML models are available on Zenodo.

timl's People

Contributors

gabrieltseng avatar ivanzvonkov avatar

Stargazers

 avatar Lily-belle Sweet avatar TaoBingcheng avatar  avatar UpstatePedro avatar Nils Lehmann avatar Mathieu LE CAM avatar Jacob A Rose avatar  avatar Lincoln Carvalho avatar Vasken Dermardiros avatar Cpop avatar Thomas Di Martino avatar Pratinav Seth avatar Marc Rußwurm avatar  avatar

Watchers

 avatar  avatar

timl's Issues

`torch.jit` for the crop classifier

To better integrate this into our inference pipeline, save the model as a torch.jit model.

  • Function to save the model after finetuning
  • Test to ensure the jit model has the same outputs as the unjitted model

cc @ivanzvonkov

Deploy to Google Cloud

To make predictions with TIML at scale we'll deploy the model to Google Cloud, deployment will consist of:

  • jit model (#3)
  • Inference class for making predictions with jit model (#5)
  • Inference class working inside torchserve server
  • Docker container for housing torchserve server (deploy to Google Cloud Run)
  • Google Cloud Function to begin data export
  • Google Cloud Function to trigger inference

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.