-
Notifications
You must be signed in to change notification settings - Fork 7k
No such operator torchvision::nms #1405
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
Comments
Hi, There is currently a problem with the torchvision wheels for the nightlies, they haven't been updated in more than 10 days. The error you are getting indicates that you haven't compiled the new torchvision extensions. This should work I believe. cc @soumith for the problem pushing nightlies for torchvision |
@fmassa, unfortunatelly it still doesn't work even on clean simple install path
I don't see any signs of errors during compilation process |
Ok, I see a problem in vision/torchvision/ops/boxes.py Line 31 in bf85957
Should there be return torchvision.ops.nms(boxes, scores, iou_threshold) ?
|
Sorry, I messed up sematics. torch.ops.torchvision.nms is internal for loaded op and torchvision.ops.nms is external for python wrapper |
Hi I am getting the same error. Can you please help me? |
I must say I didn't managed to fix it (didn't had enough time to dig into torchscript custom ops naming rules). I think there's indeed a problem and I think the tests should fail on this issue. @fmassa as this is observed by other people, please take a look at it |
Hi, Can you print What is a bit confusing now is that |
As I've mentioned in #1489, I'm going to be changing the torchvision nightlies to depend on PyTorch nightly. |
torch: 1.4.0.dev20191016+cu100 |
I'll check 1.3.0, because I used torch nightly, but I reported this error before 1.3.0 release |
Hi, I managed to find a compatible (working) pair of torchvision and torch. |
The error indicates that there is an uncompatibility between the version of PyTorch that was used to build torchvision and the version of PyTorch that you are using (it's not clear from the message unfortunately) I'm fixing things now so that torchvision nightly depend on PyTorch nightly, and I'll regenerate the binaries. |
Should be fixed with #1492 |
Fixed via #1492 |
Hi @fmassa , I am facing this issue on Windows using the latest stable build. This is how I installed:
And here is the error message:
What can I do ? |
@davidsteinar - if you're still encountering this please create a new issue to gain visibility |
same problem here |
Oh thank you, fixed :) |
I met the same erro:No such operator torchvision::nms.So I change the version of pytoch and torchvision to 1.2.0 and 0.4.0,but the erro is still here. |
same on ArchLinux np is 1.19 torch.version: 1.6.0rc7 |
@chiboreache PyTorch 1.6.0 requires torchvision 0.7.0 |
that really strange in aur we only has 0.6.1-1 |
git version actually was 0.8.0a0+f5bf9d5 it finally works again, thank you! but i getting warning
is it torch or detektron2 issue? |
this warning is expected, and was introduced in the latest release of PyTorch. detectron2 should update its implementation to use |
|
@GotFusion I believe the issue is still incompatibility of the versions -- you might be using a different python environment for running the code than the one you used for checking the versions |
Thank you for your advice. I have changed the python version to 3.7.9, and it works now |
yes, I changed to 0.7.0, and it worked |
Hey guys, I meet the same problem: |
@feiyuhuahuo can you share where in the codebase / tutorials the |
@fmassa I get the code from the official yolov5 project. |
@feiyuhuahuo they should change their code, as this is not supported. For |
@feiyuhuahuo I've commented in ultralytics/yolov5#1272 (comment) |
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
I did like was noticed here but the new issues appeared later: Also, tried to downgrade version like: Alas, unsuccessfully |
Edit: I created a new issue with a detailed report: #4180 Same problem here. The primary issue is resolve with a simple naming change (below, thanks to @feiyuhuahuo) but this creates the
OLD (bad): Did anyone manage to resolve the maximum recursion depth error?System details:
Full stack trace:
|
Hi,
I'm get an error when I try to use new torch.ops, e.g.
results in
No matter if I use nightly build or master clone, e.g.
pip install --pre torch torchvision -f https://download.pytorch.org/whl/nightly/cu100/torch_nightly.html
How to debug setup.py to track where comilation/loading fails?
The text was updated successfully, but these errors were encountered: