pytorch / android-demo-app

PyTorch android examples of usage in applications
1.48k stars 608 forks source link

Torchvision::nms ops cannot be found with Detectron2 in Android demo APP #300

Open SLchowis opened 1 year ago

SLchowis commented 1 year ago

So I am working with the Android demo APP for image segmentation with Pytorch.

The demo APP works just fine with deeplabv3. But instead of using the default deeplabv3 models, I am trying to use detecton2. (we used detectron2 for training and inference, now we want to use it for edge implementation).

Here is what I have achieved and tested successfully in Python:

IDE environment:

Error

I did go through a lot of posts here and there, unfortunately none was able to solve the problem. It could be that I am not doing it right.....

Any help will be appreciated.