facebookresearch / DomainBed

DomainBed is a suite to test domain generalization algorithms
MIT License
1.42k stars 298 forks source link

如何对Camelyon17的处理 #153

Closed yuu-Wang closed 4 months ago

yuu-Wang commented 4 months ago

看到您datasets.py里面对Camelyon17的处理代码: class WILDSCamelyon(WILDSDataset): ENVIRONMENTS = [ "hospital_0", "hospital_1", "hospital_2", "hospital_3", "hospital_4"] def init(self, root, test_envs, hparams): dataset = Camelyon17Dataset(root_dir=root) super().init( dataset, "hospital", test_envs, hparams['data_augmentation'], hparams) 我下载下来的Camelyon17的数据集没有hospital_0", "hospital_1", "hospital_2", "hospital_3", "hospital_4",是要运行datasets.py来对之进行划分吗

piotr-teterwak commented 4 months ago

Hi @yuu-Wang , is this a duplicate of https://github.com/facebookresearch/DomainBed/issues/151?