8000 GitHub - deep-real/TEP: The Pytorch implementation for "Ensemble Pruning for Out-of-distribution Generalization" (ICML 2024)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ TEP Public

The Pytorch implementation for "Ensemble Pruning for Out-of-distribution Generalization" (ICML 2024)

License

Notifications You must be signed in to change notification settings

deep-real/TEP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ensemble Pruning for Out-of-distribution Generalization

This repository holds the Pytorch implementation of Ensemble Pruning for Out-of-distribution Generalization by Fengchun Qiao and Xi Peng. If you find our code useful in your research, please consider citing:

@inproceedings{qiao2024tep,
title={Ensemble Pruning for Out-of-distribution Generalization},
author={Fengchun Qiao and Xi Peng},
booktitle={International Conference on Machine Learning (ICML)},
year={2024}
}

DomainBed

Our code is adapted from the open-source DomainBed github and DiWA github

Requirements

  • python == 3.7.10
  • torch == 1.8.1
  • torchvision == 0.9.1
  • numpy == 1.20.2

DiWA Procedure Details

Please follow DiWA github to obtain pre-trained individual models

Average the diverse weights

We average the weights selected by our method

python -m domainbed.scripts.diwa\
       --data_dir=/my/data/dir/\
       --output_dir=/my/sweep/output/path\
       --dataset TerraIncognita\
       --test_env ${test_env}\
       --weight_selection TEP\
       --trial_seed ${trial_seed}

Please contact Fengchun Qiao (fengchun@udel.edu) for any question.

About

The Pytorch implementation for "Ensemble Pruning for Out-of-distribution Generalization" (ICML 2024)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0