Skip to content

Attention is None #35

@g-luo

Description

@g-luo

I'm getting an error in this line

attns['image'] = attn.cpu().detach().numpy()
where the attn seems to be None -- @alasdairtran do you have any insight as to why this error might be occurring?

For context I am using my own custom dataset.

Thanks!

        attns['image'] = attn.cpu().detach().numpy()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions