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

preprocess_rcv1 code error #2

Open
MeycL opened this issue Aug 1, 2023 · 0 comments
Open

preprocess_rcv1 code error #2

MeycL opened this issue Aug 1, 2023 · 0 comments

Comments

@MeycL
Copy link

MeycL commented Aug 1, 2023

File "preprocess_rcv1.py", line 95, in fetch_docs
text = docid2path[doc_id].open('rt', encoding='iso-8859-1').read()
KeyError: '2286

I have downloaded the original rcv1 dataset, but run preprocess_rcv1.py reported an error as above, how can I solve it?
Looking forward to your reply.

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