Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError: cannot import name '_C' from 'fasterRCNN.lib.model' (/home/k/kajal/STTran/fasterRCNN/lib/model/__init__.py) #50

Open
kajal15003 opened this issue May 3, 2023 · 6 comments

Comments

@kajal15003
Copy link

kajal15003 commented May 3, 2023

Please help

@kajal15003 kajal15003 changed the title ModuleNotFoundError: No module named 'lib.fpn.box_intersections_cpu.bbox' ImportError: cannot import name '_C' from 'fasterRCNN.lib.model' (/home/k/kajal/STTran/fasterRCNN/lib/model/__init__.py) May 3, 2023
@yrcong
Copy link
Owner

yrcong commented May 4, 2023

I guess you didn't compile the C++ code (correctly). Please run the setup.py.

Btw, I think the code only supports the cuda version<11.1.

@AlphaGoooo
Copy link

Do you solve this problem? My cuda version is 11.8 and I also met this problem.

@yrcong
Copy link
Owner

yrcong commented May 12, 2023

Do you solve this problem? My cuda version is 11.8 and I also met this problem.

I think the exclusive solution is using cuda<=11.0 and GPU<2080Ti

@kajal15003
Copy link
Author

I have downgraded the cuda version. But it is still showing the same error

@yrcong
Copy link
Owner

yrcong commented May 15, 2023

Have you compiled the code again after downgrading the cuda version?

@kajal15003
Copy link
Author

Yes, it is showing the below one in the output
running build_ext

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants