alibaba / alibaba/x-deeplearning

关于DIEN的一个bug

Open Beginner friendly
#170 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PureBasic
Stars
4.3k
Forks
1k
PR merge metrics
No merged PRs in 30d

Description

在DIEN的文件script/utils.py 中,返回值scores的shape为(B,1,T),而实际上,应为(B,T),否则,代码无法正常运行。 只需要加上一行scores = tf.reduce_sum(scores,axis=1) 即可。

Contributor guide

No contributing guide indexed for this repository

Research direction

Open script/utils.py and locate the DIEN code that returns scores. Confirm that its current shape is (B, 1, T) and verify the downstream code expects (B, T). Done means the returned scores have the expected shape and the DIEN code runs normally.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, tensorflow
Domain
machine-learning
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.