Open enhany opened 4 years ago
@enhany
This error occurs when there is no detection result.
Why don't you add try
~ except
?
@youngwanLEE Hi, I try your mobv2 pretrained model. But it seems every images got this list index out of range
error. It's unnormal. any tips? thank you.
try add --opts MODEL.WEIGHTS xxx.pth
to your command line.
@dragen1860 Hi, I met the same problem.Did you solve it through use the command line before?
@enhany Hi, I meet the same problem.Did you solve it?I think maybe you can help me to solve this problem.Thanks.
@dragen1860 Hi, I met the same problem.Did you solve it through use the command line before?
I cannt remember it clearly. I guess I have solved this as I mentioned above.
@dragen1860 Hi, I met the same problem.Did you solve it through use the command line before?
I cannt remember it clearly. I guess I have solved this as I mentioned above.
OK.Thanks,i‘ll try it again.
i also meet this problem,it seems that the predictions of all images return a none []
I meet the same problem. And solved it finally. My situation: When I use other .yaml and .pth instead of centermask-lite-M-v2(default), it works. So I think there are some wrongs with the file "centermask-lite-M-v2", or it's really only able to predict nothing from all imgs......
@BWYWTB Thanks for your sharing,i'll try again
I trained model with custom dataset. "python tools/test_net.py" works fine, shows results. But when I try to run centermask_demo.py to visialize results I get error. Problem is with custom dataset only, pretrained model from site works fine.
cmd line:
result: