IDEA-Research / TAPTR

[ECCV 2024] Official implementation of the paper "TAPTR: Tracking Any Point with Transformers as Detection"
https://taptr.github.io
Other
187 stars 12 forks source link

Regarding installation process #10

Closed samay-patel-2110 closed 2 weeks ago

samay-patel-2110 commented 1 month ago

i have used the exact versions python=3.8.18,pytorch=1.13.0+cu117,cuda=11.7

but when i run pip install it shows the problem below

ERROR: Ignored the following versions that require a different python version: 1.2.0 Requires-Python >=3.9; 1.2.1 Requires-Python >=3.9; 1.2.1rc1 Requires-Python >=3.9; 2.14.0 Requires-Python >=3.9; 2.14.0rc0 Requires-Python >=3.9; 3.0.0 Requires-Python >=3.9; 3.0.1 Requires-Python >=3.9; 3.0.2 Requires-Python >=3.9; 3.0.3 Requires-Python >=3.9; 3.0.4 Requires-Python >=3.9; 3.0.5 Requires-Python >=3.9; 3.1.0 Requires-Python >=3.9; 3.1.1 Requires-Python >=3.9; 3.2.0 Requires-Python >=3.9; 3.2.1 Requires-Python >=3.9; 3.3.0 Requires-Python >=3.9; 3.3.1 Requires-Python >=3.9; 3.3.2 Requires-Python >=3.9; 3.3.3 Requires-Python >=3.9; 3.4.0 Requires-Python >=3.9; 3.4.1 Requires-Python >=3.9; 3.8.0 Requires-Python >=3.9; 3.8.0rc1 Requires-Python >=3.9; 3.8.1 Requires-Python >=3.9; 3.8.2 Requires-Python >=3.9; 3.8.3 Requires-Python >=3.9; 3.8.4 Requires-Python >=3.9; 3.9.0 Requires-Python >=3.9; 3.9.0rc2 Requires-Python >=3.9; 3.9.1 Requires-Python >=3.9; 3.9.1.post1 Requires-Python >=3.9; 8.13.1 Requires-Python >=3.9; 8.13.2 Requires-Python >=3.9; 8.14.0 Requires-Python >=3.9; 8.15.0 Requires-Python >=3.9; 8.16.0 Requires-Python >=3.9; 8.16.1 Requires-Python >=3.9; 8.17.0 Requires-Python >=3.9; 8.17.1 Requires-Python >=3.9; 8.17.2 Requires-Python >=3.9; 8.18.0 Requires-Python >=3.9; 8.18.1 Requires-Python >=3.9; 8.19.0 Requires-Python >=3.10; 8.20.0 Requires-Python >=3.10; 8.21.0 Requires-Python >=3.10; 8.22.0 Requires-Python >=3.10; 8.22.1 Requires-Python >=3.10; 8.22.2 Requires-Python >=3.10; 8.23.0 Requires-Python >=3.10; 8.24.0 Requires-Python >=3.10; 8.25.0 Requires-Python >=3.10; 8.26.0 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement MultiScaleDeformableAttention==1.0 (from versions: none) ERROR: No matching distribution found for MultiScaleDeformableAttention==1.0

lukaboljevic commented 1 month ago

Hello. I suggest you remove the MultiScaleDeformableAttention==1.0 line from requirements.txt and install it manually, as it should be. Installation instructrions should be in the Installation section of the README, or you can also follow instructions in e.g. the Deformable DETR repository.

LHY-HongyangLi commented 1 month ago

Thank you @lukaboljevic , Yes, @samay-patel-2110 you should manually install MultiScaleDeformableAttention through the commend ''' python setup.py install ''' as we have mentioned in the installation section.

sinkers-lan commented 2 weeks ago

Thanks to @LHY-HongyangLi and @lukaboljevic for your kind guidance. For MultiScaleDeformableAttention==1.0, we should remove it from requirements.txt and install it via python setup.py install according to the Installation section of the README. Then I got:

image

LHY-HongyangLi commented 2 weeks ago

Hi, @sinkers-lan , This means that you have installed the MultiScaleDeformableAttention successfully.

sinkers-lan commented 2 weeks ago

Hi, @sinkers-lan , This means that you have installed the MultiScaleDeformableAttention successfully.

Hi, @LHY-HongyangLi,

That’s right, I can now run the code successfully. Thank you!

LHY-HongyangLi commented 2 weeks ago

I will close this issue. If you have any further question, feel free to reopen it or reach out.😉