-
Notifications
You must be signed in to change notification settings - Fork 21
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
Segmentation fault (core dumped) #2
Comments
i know the wrong code. |
what does the Traceback show? |
No Traceback shows. Just the tip. |
I would like to know more about the energy_H and energy_W variables, what the compute and how they help to acheive. |
to aggregate the values from the same column(energy_H) and row(energy_W ) of the query. self.INF will make one of the overlapped position to be zero. |
Thanks a lot Serge for your kind reply, Would it be possible to connect sometime over short zoom call, to clarify few other points |
concate = self.softmax(torch.cat([energy_H, energy_W], 3)) computes the attention maps and one overlapped position was seted to 0 by the self.INF, so there are H+W-1 non-zero values + 1 zero value. |
Who got this error?
I googled and got some reasons about core and GPU version。
But i dont konw how to solve?
The text was updated successfully, but these errors were encountered: