Skip to content

strange error when inferring on novel examples #32

@ysymyth

Description

@ysymyth

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions