Code Monkey home page Code Monkey logo

rsc's Introduction

Self-Challenging Improves Cross-Domain Generalization (In progress)

This is the official implementation of:

Zeyi Huang, Haohan Wang, Eric P. Xing, and Dong Huang, Self-Challenging Improves Cross-Domain Generalization, ECCV, 2020 (Oral), arxiv version.

Citation:

@inproceedings{huangRSC2020,
  title={Self-Challenging Improves Cross-Domain Generalization},
  author={Zeyi Huang and Haohan Wang and Eric P. Xing and Dong Huang},
  booktitle={ECCV},
  year={2020}
}

Installation

Requirements:

  • Python ==3.7
  • Pytorch >=1.0.0
  • Torchvision >= 0.2.0
  • Cuda >=10.0
  • Tensorflow >=1.14
  • GPU: RTX 2080

Data Preparation

Download PACS dataset from here. Once you have download the data, you must update the files in data/txt_list to match the actual location of your files.

Step-by-step installation

Runing on PACS dataset

Experiments with different source/target domains are listed in train.py(L140-147). To train a ResNet18, simply run:

  python train.py

Other pretrained models

New ImageNet ResNet baselines training by RSC.

Backbone Top-1 Acc % Top-5 Acc % pth models
ResNet-50 77.18 93.53 download
ResNet-101 78.23 94.16 download
ResNet-152 78.89 94.43 download

Acknowledgement

We borrowed some code and data augmentation techniques from Jigen.

rsc's People

Contributors

justinhzy avatar

Watchers

 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.