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

encoder.py里面的pcnn中mask_embedding是不是写错了? #68

Open
hml18 opened this issue Nov 1, 2021 · 0 comments
Open

encoder.py里面的pcnn中mask_embedding是不是写错了? #68

hml18 opened this issue Nov 1, 2021 · 0 comments

Comments

@hml18
Copy link

hml18 commented Nov 1, 2021

self.mask_embedding.weight.data.copy_(torch.FloatTensor([ [1, 0, 0], [0, 1, 0], [0, 0, 1], [0, 0, 0]]))

这里的mask是不是应该是

self.mask_embedding.weight.data.copy_(torch.FloatTensor([[0, 0, 0], [1, 0, 0], [0, 1, 0], [0, 0, 1]]))
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