Dassl.pytorch icon indicating copy to clipboard operation
Dassl.pytorch copied to clipboard

dg dataset in vlcs

Open hopey233 opened this issue 2 years ago • 0 comments

sorry to disturb you.

in my domain generalization task, i find a mistake in https://github.com/KaiyangZhou/Dassl.pytorch/blob/master/dassl/data/datasets/dg/vlcs.py#L40

because in the test data, it should inlcude all images in target domain, so it should be written as follows:

test = self._read_data(cfg.DATASET.TARGET_DOMAINS, "full")
test += self._read_data(cfg.DATASET.TARGET_DOMAINS, "test") 

hopey233 avatar Mar 24 '23 05:03 hopey233