Skip to content

torch.ops._caffe2.BoxWithNMSLimit and tracing for rotated boxes #2803

Answered by ppwwyyxx
alekseynp asked this question in Q&A
Discussion options

You must be logged in to vote

Many detection ops in torch.ops._caffe2 don't have gradients AFAIK, so they can't be used for training.
And the idea with pytorch development is that in the long term they're going to be abandoned if more users migrate to using pytorch ops.

If there are serious bugs like correctness issues we're still interested in fixing them since our users rely on them for deployment.

Deployment needs those ops, and they today exist in caffe2 and in detectron2 (which is not a C++ library). So I guess the choices for you are either to use the caffe2 solution (which don't support GPU very well) or see if torchvision can host these ops (pytorch/vision#2761)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alekseynp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants