Skip to content

InfoBatch for image retrieval? #29

@Tong-Jin01

Description

@Tong-Jin01

I am trying to use InfoBatch for an image retrieval task. The loss I calculated is a tensor value (tensor(1.5947, device='cuda:0', grad_fn=)), which has no .shape attribute, so when I call loss = train_dataset.update(loss), I get an error. How can I solve this problem?

Image

Image

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