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

Did anyone find that the code cannot run directly? #1

Open
githubWangHC opened this issue Jul 4, 2022 · 3 comments
Open

Did anyone find that the code cannot run directly? #1

githubWangHC opened this issue Jul 4, 2022 · 3 comments

Comments

@githubWangHC
Copy link

No description provided.

@shiguyuanjiu
Copy link

我感觉缺东西。q_value计算这里

@WangXuan2401
Copy link

So, Is the problem caused by the lack of real data?

@lemonskiller
Copy link

lemonskiller commented May 12, 2023

I changed
receiver_tensors = {
'user_id': tf.placeholder(tf.int64, [None, 1], name='user_id'),
'behavior_poi_id_list': tf.placeholder(tf.int64, [None, 10], name='behavior_poi_id_list'),
'ad_id_list': tf.placeholder(tf.int32, [None, 5], name='ad_id_list'),
'oi_id_list': tf.placeholder(tf.int32, [None, 5], name='oi_id_list'),
'context_id': tf.placeholder(tf.int32, [None, 1], name='context_id'),
'action': tf.placeholder(tf.int32, [None, 5], name='action')
}
from tf.float to tf.int32 and it works!

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

4 participants