Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
HazelSu authored Apr 13, 2024
1 parent fa5cc32 commit e7b7223
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion image_target_of_oh_vs.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import src.methods.oh.nrc_vs as Nrc_vs
import src.methods.oh.lcfd as LCFD
import src.methods.oh.difo as DIFO
import src.methods.oh.difo_50 as DIFO_50

import src.methods.oh.plue as PLUE
import src.methods.oh.adacontrast as ADACONTRAST
import src.methods.oh.source as SOURCE
Expand Down Expand Up @@ -77,7 +79,10 @@

elif cfg.MODEL.METHOD == "difo":
print("using difo method")
acc = DIFO.train_target(cfg)
if 'RN' in cfg.DIFO.ARCH:
acc = DIFO_50.train_target(cfg)
else:
acc = DIFO.train_target(cfg)

elif cfg.MODEL.METHOD == "plue":
print("using plue method")
Expand Down

0 comments on commit e7b7223

Please sign in to comment.