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

model.py 里面的一个 bug #17

Open
sudongxiang opened this issue Mar 1, 2019 · 2 comments
Open

model.py 里面的一个 bug #17

sudongxiang opened this issue Mar 1, 2019 · 2 comments

Comments

@sudongxiang
Copy link

No description provided.

@sudongxiang sudongxiang changed the title model.py 里面的yige bug model.py 里面的一个 bug Mar 1, 2019
@sudongxiang
Copy link
Author

model.py 367行代码:
inp = tf.concat([self.uid_batch_embedded, self.item_eb, self.item_his_eb_sum, self.item_eb * self.item_his_eb_sum, final_state2], 1)

item_eb 和item_his_eb_sum size未必相等,此处做乘积恐怕无法运行。

@mouna99
Copy link
Owner

mouna99 commented Apr 11, 2019

我取的emb维度是一样的,如果不一样的话我觉得可以先做一次线性转化再相乘

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