Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何对Camelyon17的处理 #153

Closed
yuu-Wang opened this issue Jul 29, 2024 · 1 comment
Closed

如何对Camelyon17的处理 #153

yuu-Wang opened this issue Jul 29, 2024 · 1 comment

Comments

@yuu-Wang
Copy link

看到您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
Copy link
Collaborator

Hi @yuu-Wang , is this a duplicate of #151?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants