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

ValueError: Data is not binary and pos_label is not specified #2

Open
heroghost opened this issue Nov 10, 2017 · 3 comments
Open

ValueError: Data is not binary and pos_label is not specified #2

heroghost opened this issue Nov 10, 2017 · 3 comments

Comments

@heroghost
Copy link

py train.py执行出现错误
ValueError: Data is not binary and pos_label is not specified

@l11x0m7
Copy link
Owner

l11x0m7 commented Feb 8, 2018

抱歉现在才回你,请问你用的是py2么?

@luckywonky
Copy link

如果用python3,可以将 pbar = tqdm(config.test_data)改为
pbar = tqdm(data.load_test(config.sequence_length,config.sequence_length))

@l11x0m7
Copy link
Owner

l11x0m7 commented May 16, 2018

一般发生代码运行错误是由于使用的python版本、tensorflow等包版本不一致等原因。

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