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

训练的时候报错 #3

Open
quliulangle opened this issue Apr 2, 2019 · 4 comments
Open

训练的时候报错 #3

quliulangle opened this issue Apr 2, 2019 · 4 comments

Comments

@quliulangle
Copy link

history = parallel_model.fit(.......)这句话报错

AttributeError: 'BatchDataset' object has no attribute 'ndim'

@quliulangle
Copy link
Author

老哥 能不能出个详细的requirements.txt呀

@songhengyang
Copy link
Owner

songhengyang commented Apr 2, 2019

请查一下运行的环境,tensorflow的版本,一定要用tensorflow 1.13 及以上,版本低,报错。
可以参考 README-ZH.md的中文说明,“”依赖“”部分。

@quliulangle
Copy link
Author

老哥 再请教一下 你给出的模型是用哪些数据集训练的呀? 我看对眨眼动作识别不太准确,所以我就在公开数据集中挑选了一些,重新训练。但是结果感觉很差。

@songhengyang
Copy link
Owner

songhengyang commented Apr 4, 2019

现在的模型是针对脸部的,针对眼部,可采用级联法,结合传统算法。dlib库实现了face landmarks传统算法训练做眼部特征点精检。

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