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

KeyError: 0 in src/dataset #2

Open
White1973 opened this issue Jul 29, 2023 · 0 comments
Open

KeyError: 0 in src/dataset #2

White1973 opened this issue Jul 29, 2023 · 0 comments

Comments

@White1973
Copy link

After I generate metadata.csv for Officehome dataset, there is an error at the line "df['split_id'] = df['split'].apply(lambda x: self._split_dict[x])" in dataset.py, which shows "KeyError: 0".
Could you tell me what's the problem in this line?

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

1 participant