ubc-vision / COTR

Code release for "COTR: Correspondence Transformer for Matching Across Images"(ICCV 2021)
Apache License 2.0
460 stars 58 forks source link

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

Open 21pl opened 3 years ago

21pl commented 3 years ago

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

jiangwei221 commented 3 years ago

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

21pl commented 3 years ago

I used conda install -c conda-forge glfw

jiangwei221 commented 3 years ago

Thanks! I’ll add this to the env file

BurningTyfoon commented 3 years ago

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!!!

Desolatexxx commented 2 years ago

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 1 year ago

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!!

uncle-tou commented 7 months ago

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()"