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

Running code ERROR #8

Open
sentry0501 opened this issue Jan 6, 2022 · 3 comments
Open

Running code ERROR #8

sentry0501 opened this issue Jan 6, 2022 · 3 comments

Comments

@sentry0501
Copy link

I think line 875 at function DataLoader, the collate_fn=pad should be collate_fn=NerDataset.pad ...

@stwater20
Copy link

image

I have the same issue

@DengNingyuan
Copy link

me too

@DengNingyuan
Copy link

replace by "collate_fn=NerDataset.pad,"
i know ,should be changed to collate_fn=NerDataset.pad,because the author use " collate_fn=NerDataset.pad" when load other data,i guess " collate_fn=pad" may be a mistake.

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

3 participants