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

python inference.py --masks --model_path /home/zhangsai/vistr/vistr_r50.pth #61

Open
qzsrh opened this issue Sep 30, 2021 · 5 comments
Open

Comments

@qzsrh
Copy link

qzsrh commented Sep 30, 2021

When I run this command, :python inference.py --masks --model_path /home/zhangsai/vistr/vistr_r50.pth
the following error occurs:
Process video: 292
Process video: 293
Traceback (most recent call last):
File "inference.py", line 236, in
main(args)
File "inference.py", line 217, in main
if pred_scores[n,m]<0.001:
IndexError: index 36 is out of bounds for axis 0 with size 36
My dataset is YoutubeVIS,The data format is the same as that of preparation. The Val dataset is used to execute this line of command.
Hope to get your reply, thank you very much!

@XiangTodayEatsWhat
Copy link

Hello! Have you addressed it? I met the same problem.

@qzsrh
Copy link
Author

qzsrh commented Oct 14, 2021

Hello! Have you addressed it? I met the same problem.

Some of the videos in the test set exceed 36 frames. Just find them and remove them

@XiangTodayEatsWhat
Copy link

Hello! Have you addressed it? I met the same problem.

Some of the videos in the test set exceed 36 frames. Just find them and remove them

Thank you! It works now!

@qzsrh
Copy link
Author

qzsrh commented Oct 14, 2021

Hello! Have you addressed it? I met the same problem.

Some of the videos in the test set exceed 36 frames. Just find them and remove them

Thank you! It works now!

However, it seems that there are errors in the json file after my test. I didn't successfully visualize it. If you can successfully visualize it later, please tell me what you did. Thank you very much!

@shuangkouyizu
Copy link

Have you solved it?

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

3 participants