Skip to content

Xiang-Pan/ProjectionNet

Repository files navigation

ProjectionNet

Code for "Bridging Domains with Approximately Shared Features".

image

image

dataset $\in$ [officehome, pacs, terraincognite, vlcs].

method $\in$ [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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published