Skip to content

IndexError #1

Description

@EhabR98

Hi, first of all, thanks for your great work.
I had this problem while trying the last cell
can you help?

IndexError Traceback (most recent call last)
in ()
----> 1 train_losses, train_accs, valid_losses, valid_accs = train(model, train_loader, valid_loader,100,model_file,back_up_model_file)

5 frames
in getitem(self, indx)
64 for i in range(6):
65 ###Code###
---> 66 frame = self.video_frames[self.start]
67 cropping_dim = crop_dims(frame)
68 cropped_img = cropping(frame, cropping_dim)

IndexError: index 581 is out of bounds for axis 0 with size 1

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