Skip to content

Cannot run bash run_smth_i3d.sh because batch[2] is not accessible. #2

@kylemin

Description

@kylemin

When I enumerate over val_loader, the length of batch is 2 (batch[0] is an input clip and batch[1] is a target label).
In your batch_fn, however, you access batch[2] to get item_id.
It makes an IndexError as below.

image

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