jindongwang / transferlearning

Transfer learning / domain adaptation / domain generalization / multi-task learning etc. Papers, codes, datasets, applications, tutorials.-迁移学习
http://transferlearning.xyz/
MIT License
13.24k stars 3.8k forks source link

How to use DIFEX for single domain generalization? #426

Closed undercutspiky closed 7 months ago

undercutspiky commented 8 months ago

Hi, I'd like to test DIFEX on a medical dataset but with only one domain as the source domain. I guess I would need to remove the coral loss and the exploration loss thus using only the classification loss and distillation loss functions. Is there an example script I can use to run DIFEX for single domain generalization?

jindongwang commented 7 months ago

DIFEX works mainly for multiple DG. I don't think it will work for single DG.

undercutspiky commented 7 months ago

Cool. Thank you.