You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
When I enumerate over
val_loader, the length ofbatchis 2 (batch[0] is an input clip and batch[1] is a target label).In your
batch_fn, however, you accessbatch[2]to getitem_id.It makes an IndexError as below.