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

修正无验证集输入时的代码报错问题 #15

Merged
merged 1 commit into from Jul 8, 2020

Conversation

aestheticisma
Copy link
Contributor

作者您好,我在使用您封装好的FastBERT进行单句子文本分类的实验时,在未输入验证集的情况下,在一个epoch训练结束时,报错“TypeError: cannot unpack non-iterable float object”。位置位于fastbert.py文件436行,我发现为变量赋值问题导致,具体请查阅PR。

@autoliuweijie autoliuweijie merged commit 5b22496 into autoliuweijie:master Jul 8, 2020
@autoliuweijie
Copy link
Owner

感谢您发现这个问题,多谢帮助!

Pypi版的FastBERT还有很多问题,还在开发中,欢迎参与哈!

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

Successfully merging this pull request may close these issues.

None yet

2 participants