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

code error #13

Open
SZH1230456 opened this issue Jun 9, 2021 · 0 comments
Open

code error #13

SZH1230456 opened this issue Jun 9, 2021 · 0 comments

Comments

@SZH1230456
Copy link

I am confused about the train and test process, why do you use c^t_d, c^t_p, c^t_m to predict c^t_m?

for adm_idx, adm in enumerate(input):
target_output1 = model(input[:adm_idx+1])
y_gt_tmp = np.zeros(voc_size[2])
y_gt_tmp[adm[2]] = 1
y_gt.append(y_gt_tmp)

I guess you got the wrong number when you sliced them.

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

1 participant