ubc-vision/COTR

TypeError: 'NoneType' object is not callable

Closed this issue · 4 comments

Thank you very much for your open source code!
When I run "python demo_single_pair.py --load_weights="default"", the bug show. Could you give me some debugging advice?
image

Thank you very much for your open source code! When I run "python demo_single_pair.py --load_weights="default"", the bug show. Could you give me some debugging advice? image

Hi, I'm facing same problem. How did you solve it?

Hi, it seems that you don't have vispy installed in the environment. You can try to install it and try again.

Hi, it seems that you don't have vispy installed in the environment. You can try to install it and try again.

Thank you!

@jiangwei221 @TheRealPoseidon hello, after I installed the vispy, it still shows the error:

Traceback (most recent call last):
  File "demo_single_pair.py", line 71, in <module>
    main(opt)
  File "demo_single_pair.py", line 46, in main
    dense = triangulate_corr(corrs, img_a.shape, img_b.shape)
TypeError: 'NoneType' object is not callable

What else should I do to fix this?