ubc-vision/COTR

glfw has to be installed to fix 'cannot use vispy, setting triangulate_corr as None'

Opened this issue · 7 comments

21pl commented

glfw has to be installed for the triangulation to work when using demo_single_pair.py otherwise code hangs after the first correspondence image is rendered

Do you solve this issue by pip install or apt-get install?

21pl commented

I used
conda install -c conda-forge glfw

Thanks! I’ll add this to the env file

Thanks! I’ll add this to the env file

Hi, buddy. I wonder how to add this to env file? which env file? where is it? Thanx!!!

I used conda install -c conda-forge glfw

Hello, the following errors still occur after I install this:
TypeError: 'NoneType' object is not callable

ccchk commented

glfw has to be installed for the triangulation to work when using demo_single_pair.py otherwise code hangs after the first correspondence image is rendered

I used conda install -c conda-forge glfw

Hello, 'cannot use vispy, setting triangulate_corr as None' still occur after I install this. Is there more solution for this issue? Thanks!!

glfw has to be installed for the triangulation to work when using demo_single_pair.py otherwise code hangs after the first correspondence image is rendered

I used conda install -c conda-forge glfw

Hello, 'cannot use vispy, setting triangulate_corr as None' still occur after I install this. Is there more solution for this issue? Thanks!!

that's because there is a problem in systime.clock(). If you put "import vispy" at the begining of main.py, you will get "Error importing vispy: module 'time' has no attribute 'clock'". Click it and go into vispy.py, go to def unixTime() and replace "systime.clock()" with "systime.process_time()"