TransDETR icon indicating copy to clipboard operation
TransDETR copied to clipboard

No module named 'rotated_roi'

Open adnantariq18 opened this issue 2 years ago • 9 comments

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 avatar May 31 '22 04:05 adnantariq18

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

adnantariq18 avatar May 31 '22 04:05 adnantariq18

please refer to the issue

weijiawu avatar Jun 01 '22 06:06 weijiawu

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

adnantariq18 avatar Jun 02 '22 03:06 adnantariq18

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.

weijiawu avatar Jun 02 '22 10:06 weijiawu

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 avatar Jun 06 '22 04:06 adnantariq18

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

adnantariq18 avatar Jun 06 '22 05:06 adnantariq18

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

adnantariq18 avatar Jun 15 '22 09:06 adnantariq18

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

请问您解决了问题吗

CccJ23 avatar Feb 17 '23 07:02 CccJ23

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

请问您解决了问题吗

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

P1ng3609 avatar Oct 19 '23 04:10 P1ng3609