GithubHelp home page GithubHelp logo

jcliu20 / taskgrouping Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tstandley/taskgrouping

1.0 0.0 0.0 323 KB

Code for Which Tasks Should Be Learned Together in Multi-task Learning?

Python 91.52% C++ 8.48%

taskgrouping's Introduction

Code for Which Tasks to Train Together in Multi-Task Learning

Trevor Standley, Amir R. Zamir, Dawn Chen, Leonidas Guibas, Jitendra Malik, Silvio Savarese

ICML 2020

http://taskgrouping.stanford.edu/

  1. Install pytorch,torchvision
  2. Install apex
conda install -c conda-forge nvidia-apex
  1. (optional) install data loading speedups:
conda install -c thomasbrandon -c defaults -c conda-forge pillow-accel-avx2
conda install -c conda-forge libjpeg-turbo
  1. Get training data https://github.com/StanfordVL/taskonomy/tree/master/data The data must be aranged in
inputs:   
  root/rgb/building/point_x_view_x.png
labels:
  root/task/building/point_x_view_x.png

order.

usage example

python3 train_taskonomy.py -d=/taskonomy_data/ -a=xception_taskonomy_new -j 4 -b 96 -lr=.1 --fp16 -sbn --tasks=sdnerac -r

Pretrained models from setting 2:

https://drive.google.com/drive/folders/1XQVpv6Yyz5CRGNxetO0LTXuTvMS_w5R5?usp=sharing

to test these models on the test set:

python3 train_taskonomy.py -d=/taskonomy_data/ -a=xception_taskonomy_new -j 4 -b 256 -lr=.1 --fp16 -sbn --tasks=[task letters] --resume=setting2_models/xception_taskonomy_new_[task letters].pth.tar -t -r

(contact for models from other settings)

taskgrouping's People

Contributors

tstandley avatar

Stargazers

AnYinShuangSheng 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.