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

打扰了,关于测试文件 #10

Open
ligaoyi101 opened this issue Oct 27, 2017 · 2 comments
Open

打扰了,关于测试文件 #10

ligaoyi101 opened this issue Oct 27, 2017 · 2 comments

Comments

@ligaoyi101
Copy link

您好,感谢您的分享!请问训练完之后自己的测试数据集也一定要是.utf8格式的吗?txt文件可行吗?
= = 主要我是不知道如何生成utf8文件 谢谢您了

@clayandgithub
Copy link
Owner

以utf-8编码的文本就行,后缀名和格式没有关系

@WF777777
Copy link

WF777777 commented Sep 1, 2019

sentences = [sentence.split(' ') for sentence in input_sentences]
max_sentence_length = padding_sentence_length if padding_sentence_length is not None else max([len(sentence) for sentence in

ValueError: max() arg is an empty sequence
max是一个空序列

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