Git Product home page Git Product logo

asg's Introduction

Python 3.7

ASG

Paper

Automated Synthetic-to-Real Generalization.
Wuyang Chen, Zhiding Yu, Zhangyang Wang, Anima Anandkumar.
In ICML 2020.

  • Visda-17 to COCO
  • train resnet101 with only proxy guidance
  • train resnet101 with both proxy guidance and L2O policy
  • evaluation
  • GTA5 to Cityscapes

Usage

Visda-17

Evaluation

python train.py \
--epochs 30 \
--batch-size 32 \
--lr 1e-4 \
--lwf 0.1 \
--resume pretrained/res101_vista17_best.pth.tar \
--evaluate
  • Run CUDA_VISIBLE_DEVICES=0 bash train.sh
    • Please update the GPU index via CUDA_VISIBLE_DEVICES based on your need.

Train with SGD

  • Put the code below in train.sh
python train.py \
--epochs 30 \
--batch-size 32 \
--lr 1e-4 \
--lwf 0.1
  • Run CUDA_VISIBLE_DEVICES=0 bash train.sh
    • Please update the GPU index via CUDA_VISIBLE_DEVICES based on your need.

Train with L2O

python train.py \
--epochs 30 \
--batch-size 32 \
--lr 1e-4 \
--lwf 0.1
  • Run CUDA_VISIBLE_DEVICES=0 bash l2o_train.sh
    • Please update the GPU index via CUDA_VISIBLE_DEVICES based on your need.

Citation

If you use this code for your research, please cite:

@incollection{chen2020automated,
 author = {Chen, Wuyang and Yu, Zhiding and Wang, Zhangyang and Anandkumar, Anima},
 booktitle = {Proceedings of Machine Learning and Systems 2020},
 pages = {8272--8282},
 title = {Automated Synthetic-to-Real Generalization},
 year = {2020}
}

asg's People

Contributors

chenwydj avatar

Watchers

 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.