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

UnboundLocalError with targets variable #4

Closed
liperrino opened this issue Jul 21, 2019 · 1 comment
Closed

UnboundLocalError with targets variable #4

liperrino opened this issue Jul 21, 2019 · 1 comment

Comments

@liperrino
Copy link

File "decoder.py", line 99, in main
t_self_mask = utils.create_trg_self_mask(targets.size()[1], device=targets.device)
UnboundLocalError: local variable 'targets' referenced before assignment

@liperrino
Copy link
Author

It is my fault there is no error. sorry

@tunz tunz closed this as completed Jul 28, 2019
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