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

Symbol Not Found #121

Open
JacobsDylan opened this issue Mar 8, 2022 · 1 comment
Open

Symbol Not Found #121

JacobsDylan opened this issue Mar 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@JacobsDylan
Copy link

I'm getting this error when attempting to run the following lines of code:

config = "lp://TableBank/faster_rcnn_R_101_FPN_3x/config" # TableBank configuration (from model zoo)
model = lp.Detectron2LayoutModel(config)
layout = model.detect(image)

Symbol not found: __Z16THPVariable_WrapN2at6TensorE

@JacobsDylan JacobsDylan added the bug Something isn't working label Mar 8, 2022
@lolipopshock
Copy link
Member

I think the problem is majorly about the way you've installed pytorch and Detectron2.

One thing to try first is whether pytorch is successfully installed -- e.g.,

import torch
torch.tensor([1,2])+torch.tensor([1,2])

If that works, then this might be an issue from Detectron2 installation. That is a bit complicated, but the easiest thing to do reinstall Detectron2 following the official instructions https://detectron2.readthedocs.io/en/latest/tutorials/install.html .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants