VisTR icon indicating copy to clipboard operation
VisTR copied to clipboard

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

Open qzsrh opened this issue 3 years ago • 5 comments

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!

qzsrh avatar Sep 30 '21 06:09 qzsrh

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

XiangTodayEatsWhat avatar Oct 06 '21 12:10 XiangTodayEatsWhat

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

qzsrh avatar Oct 14 '21 06:10 qzsrh

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!

XiangTodayEatsWhat avatar Oct 14 '21 08:10 XiangTodayEatsWhat

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!

qzsrh avatar Oct 14 '21 08:10 qzsrh

Have you solved it?

shuangkouyizu avatar Sep 23 '22 02:09 shuangkouyizu