weijiawu / TransDETR

[IJCV 2024] TransDETR: End-to-end Video Text Spotting with Transformer
102 stars 11 forks source link

No module named 'rotated_roi' #10

Open adnantariq18 opened 2 years ago

adnantariq18 commented 2 years ago

Hi there I am facing the issue in this module as i have already installed the dependency which is as follow

cd ./models/Rotated_ROIAlign python setup.py build_ext --inplace

dependent lib ninja was also installed as my main goal was to get the model and infer the pre-train model

adnantariq18 commented 2 years ago

Screenshot from 2022-05-31 09-49-32

weijiawu commented 2 years ago

please refer to the issue

adnantariq18 commented 2 years ago

i did tried that method but i think i was not able to get the exact path could you please provide the specific path i used the from python import os os.environ['PYTHONPATH']+=":/content/TransDETR/models/Rotated_ROIAlign/build/lib.linux-x86_64-3.7" and didn't work well and also i tried form terminal input command : export PYTHONPATH=$PYTHONPATH: ./Rotated_ROIAlign/build/lib.linux-x86_64-3.7 error on terminal : -bash: export: `./Rotated_ROIAlign/build/lib.linux-x86_64-3.7': not a valid identifier

weijiawu commented 2 years ago

i did tried that method but i think i was not able to get the exact path could you please provide the specific path i used the from python import os os.environ['PYTHONPATH']+=":/content/TransDETR/models/Rotated_ROIAlign/build/lib.linux-x86_64-3.7" and didn't work well and also i tried form terminal input command : export PYTHONPATH=$PYTHONPATH: ./Rotated_ROIAlign/build/lib.linux-x86_64-3.7 error on terminal : -bash: export: `./Rotated_ROIAlign/build/lib.linux-x86_64-3.7': not a valid identifier

Anyway, you need to add the path to the python default path.

https://www.edureka.co/blog/add-python-to-path/ maybe useful for you.

adnantariq18 commented 2 years ago

yes i was able to add the python path in it and got the output of rotated_roi the screenshot of the output after installing .. you can in the picture .. is it the correct output?

adnantariq18 commented 2 years ago

i think i will require to install rotated_roi properly .. are there any dependencies and versions of the it

adnantariq18 commented 2 years ago

i used this https://github.com/looput/Rotated_ROIAlign.git to install rotated_roi and replaced in this repository

CccJ23 commented 1 year ago

我用这个https://github.com/looput/Rotated_ROIAlign.git来安装 rotated_roi 并在这个存储库中替换

请问您解决了问题吗

P1ng3609 commented 1 year ago

我用这个https://github.com/looput/Rotated_ROIAlign.git来安装 rotated_roi 并在这个存储库中替换

请问您解决了问题吗

请问您解决了这个问题了嘛?