Skip to content

No such operator custom::warp_perspective error with building-with-setuptools example #909

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

Closed
deepali-c opened this issue Mar 26, 2020 · 0 comments · Fixed by #1766
Closed

Comments

@deepali-c
Copy link

While executing the https://pytorch.org/tutorials/advanced/torch_script_custom_ops.html#building-with-setuptools example had observed the following error:

>>> import torch
>>> torch.ops.load_library("warp_perspective.so")
>>> print(torch.ops.custom.warp_perspective)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<myenv>/lib/python3.6/site-packages/torch/_ops.py", line 61, in __getattr__
    op = torch._C._jit_get_operation(qualified_op_name)

RuntimeError: No such operator custom::warp_perspective

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

Successfully merging a pull request may close this issue.

1 participant