Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError #1

Open
EhabR98 opened this issue Jul 6, 2021 · 0 comments
Open

IndexError #1

EhabR98 opened this issue Jul 6, 2021 · 0 comments

Comments

@EhabR98
Copy link

EhabR98 commented Jul 6, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant