Xiang-Pan / ProjectionNet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ProjectionNet

dataset = [officehome, pacs, terraincognite, vlcs] method = erm, projectionnet, nuc.

You can use DomainBed and DiWA to get the DANN and DiWA models in pretraining and run the subsequent pipelines.

Source Pretrain

./scripts/1_source_pretrain/[dataset]/[method].fish

Linear Probing

./scripts/2_feature_extraction/[dataset]/[method].fish
./scripts/3_linear_probing/[dataset]/[method].fish

Fine-tuning

./scripts/4_target_finetuning/[dataset]/[method].fish

Domain Generalization

./scripts/6_domain_generalization/[dataset]/[method].fish

Fine-tuning with Decayed Learning Rate

./scripts/7_target_finetuning_decay_long/[dataset]/[method].fish

About


Languages

Language:Python 93.2%Language:Shell 6.7%Language:CSS 0.1%