Please see the update by @zhanghang1989 at Using D2Go's mask_rcnn model in the demo app · Issue #121 · pytorch/android-demo-app · GitHub 8. Also - “exporting mask rcnn is a known issue. We are updating the code and need to retrain the models. It should be fixed later this week.”