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

在使用自己的数据集时进行collate_fn出现问题 #25

Open
John-Zgj opened this issue Jul 24, 2024 · 4 comments
Open

在使用自己的数据集时进行collate_fn出现问题 #25

John-Zgj opened this issue Jul 24, 2024 · 4 comments

Comments

@John-Zgj
Copy link

image
这里是进行label padding的部分,不知道为什么会出现这个问题,求解~

@pvqn
Copy link

pvqn commented Aug 7, 2024

same problem here D:

1 similar comment
@wudi57725
Copy link

same problem here D:

@YiZzhou1
Copy link

个人认为是你数据中包含空格,而编码的时候是不对空格进行编码,导致维度大小对不上

@John-Zgj
Copy link
Author

John-Zgj commented Nov 21, 2024

个人认为是你数据中包含空格,而编码的时候是不对空格进行编码,导致维度大小对不上

对的对的,后续将数据中空格进行处理(删除或者替换)解决了问题,感谢回答

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

4 participants