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

放入自己的数据集进行测试,然后维度不一样报错 #16

Open
Josoope opened this issue Nov 22, 2023 · 3 comments
Open

放入自己的数据集进行测试,然后维度不一样报错 #16

Josoope opened this issue Nov 22, 2023 · 3 comments

Comments

@Josoope
Copy link

Josoope commented Nov 22, 2023

File "/root/autodl-tmp/wordseg/BERT-BiLSTM-CRF/data_loader.py", line 95, in collate_fn
batch_labels[j][:cur_tags_len] = labels[j]
ValueError: could not broadcast input array from shape (188,) into shape (177,)

@sociem
Copy link

sociem commented Apr 18, 2024

+1,想问一下您解决了吗

@Josoope
Copy link
Author

Josoope commented Apr 18, 2024

+1,想问一下您解决了吗
没有解决,放弃了

@sociem
Copy link

sociem commented Apr 20, 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

2 participants