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

strange error when inferring on novel examples #32

Open
ysymyth opened this issue Apr 27, 2021 · 1 comment
Open

strange error when inferring on novel examples #32

ysymyth opened this issue Apr 27, 2021 · 1 comment

Comments

@ysymyth
Copy link

ysymyth commented Apr 27, 2021

I tried to run the pre-trained model interactively, with db_id=baseball_1.

When I run this question (from training set)
Find the full name and id of the college that has the most baseball players.
it runs normally.

But when I change the question to
return college that has the most baseball players

Strange thing happens: beam search returns CUDA assertion error as db_scope_update_idx.max() = 205 while m_field_masks.size(1) = 197. So the following scatter_add_ command cannot run.

m_field_masks.scatter_add_(index=db_scope_update_idx, src=db_scope_update_mask.long(), dim=1)

Any idea why this happens? Happy to provide more details for replicating this weird bug...

@ysymyth ysymyth changed the title strange error when inferring on new examples strange error when inferring on novel examples Apr 28, 2021
@eche043
Copy link

eche043 commented Jul 2, 2022

Hello I have the same error.
Have you found a solution please?

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