Skip to content
/ IDCL Public

PyTorch implementation of Inter-Domain Curriculum Learning

License

Notifications You must be signed in to change notification settings

dnap512/IDCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

IDCL

PyTorch implementation of Inter-Domain Curriculum Learning

Description

figure1
The purpose of domain generalization is to learn a domain-invariant representation from multiple source domains so that a model can generalize well across unseen target domains. Such models are often trained with examples presented randomly from all source domains, making the training unstable because of optimization in conflicting gradient directions. Here, we explore inter-domain curriculum learning (IDCL), where the source domains are exposed in a meaningful order to gradually provide more complex ones. The experiments show that significant improvements can be achieved in both the PACS and Office-Home benchmarks, and ours shows a 1.08% improvement over the state-of-the-art method.

Requirements

  • python>=3.6
  • torch==1.7.1
  • torchvision==0.8.1

But, maybe it will work well if torch version is more than 1.2.0.

PACS dataset (official split ver)

  1. Download dataset from below link:
  1. Unzip pacs_official.zip in IDCL/codes/

About

PyTorch implementation of Inter-Domain Curriculum Learning

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published