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

多路召回.ipynb的youtubeDNN部分 #65

Closed
GrangerZyj opened this issue Apr 14, 2022 · 5 comments
Closed

多路召回.ipynb的youtubeDNN部分 #65

GrangerZyj opened this issue Apr 14, 2022 · 5 comments

Comments

@GrangerZyj
Copy link

model = YoutubeDNN(user_feature_columns, item_feature_columns, num_sampled=5, user_dnn_hidden_units=(64, embedding_dim))

出现bug Could not build a TypeSpec for <KerasTensor: shape=(None, 16) dtype=float32 (created by layer 'tf.compat.v1.squeeze_3')> with type KerasTensor

是keras和TensorFlow版本问题吗,我都是2.6.0版本

@ruyiluo
Copy link
Collaborator

ruyiluo commented Apr 14, 2022

可能版本太高了,我记得当初使用的tf版本是tf2.0或者tf1.14

@ruyiluo ruyiluo closed this as completed Apr 14, 2022
@GrangerZyj
Copy link
Author

可能版本太高了,我记得当初使用的tf版本是tf2.0或者tf1.14

我看deepmatch是支持2.0+的,是因为deepmatch的版本问题吗 可以给一下requirement.txt吗 QAQ

@ruyiluo
Copy link
Collaborator

ruyiluo commented Apr 14, 2022

换成tf1.14大概率没啥问题,这个印象比较深刻,主要就是tf的版本问题,其他的都没问题的

@ruyiluo
Copy link
Collaborator

ruyiluo commented Apr 14, 2022

这个环境太早了,我准备已经没有那个环境了

@GrangerZyj
Copy link
Author

qaq 谢谢大佬了

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