-
Notifications
You must be signed in to change notification settings - Fork 41
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 when appending in cur_image_features by image_token_indices. #3
Comments
I suspect this might be a dataset-loading error. I didn't encounter this issue while training with the dataset I provided. Do you use your own dataset for training? Could you share some examples of the datasets you utilized? |
Not in the training phase, I just use the inference code you provided for video understanding, where different videos have different "max_frame". |
I understand. What are the "max_frame" you use? Please allow me to try to reproduce this error. |
I am using this video from Charades-STA for inference, and the |
I understand. I will address this issue promptly. Thank you for providing the information. |
Sorry for replying so late. I have fixed this bug. I also added a new parameter You can re-run our model with the updated command. Link I tested this video and got the following results:
|
Thanks for your kind reply. I tried the new version and it works great! |
I tried my own video and IndexError triggered at line 277, arch.py: index xx is out of bounds for dimension 0 with size xx. This seems to be because the input video with variable length does not match the MAX_IMAGE_LENGTH (64). I modified the code as follows and it worked:
The text was updated successfully, but these errors were encountered: