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

task 3 p_mask h_mask 定义错误 #17

Open
wxhheian opened this issue Jan 3, 2023 · 1 comment
Open

task 3 p_mask h_mask 定义错误 #17

wxhheian opened this issue Jan 3, 2023 · 1 comment

Comments

@wxhheian
Copy link

wxhheian commented Jan 3, 2023

local inference

p_mask, h_mask = (p != 1).long(), (h != 1).long() # TODO: 这里是不是写错了 p != 0
m_p, m_h = self.inference(p_, h_, p_mask, h_mask) # m_p = m_h = [256,50,2400]

p_mask, h_mask = (p != 0).long(), (h != 0).long() 因为填充值默认是0

@PandaPandaChen
Copy link

i think so

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