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

在运行demo时报错AttributeError: 'float' object has no attribute '_unconditional_loss' #8

Closed
Aone999 opened this issue Dec 2, 2018 · 3 comments
Labels

Comments

@Aone999
Copy link

Aone999 commented Dec 2, 2018

在运行demo时,报错AttributeError: 'float' object has no attribute '_unconditional_loss',请问怎么解决?

@shenweichen
Copy link
Owner

shenweichen commented Dec 2, 2018

请升级一下版本pip install -U deepctr,然后确定tensorfow版本为1.4或以上(不包括1.7和1.8)~

@Aone999
Copy link
Author

Aone999 commented Dec 2, 2018

谢谢答复,把tensorflow升级到最新版本就解决了

@rosefun
Copy link

rosefun commented Apr 26, 2020

是的,pip install -U tensorflow==1.9解决问题了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants