Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 376 Bytes

run_sh.md

File metadata and controls

9 lines (7 loc) · 376 Bytes

If you want to run the "SSHT"Semi-supervised Source Hypothesis Transfer.

Step1: train the source model

For dataset Office-Home:
python image_source.py --gpu_id 0 --net resnet34 --s 0 --dset office-home

Step2: run the SSHT task

For dataset Office-Home:
python ssht.py --gpu_id 0 --net resnet34 --s 0 --dset office-home --method CDL --trade_off 1 --lamda 2.5