Faster RCNN C++ - jit - PyTorch Forums
discuss.pytorch.org › t › faster-rcnn-cJun 12, 2020 · Looking to see if anyone has succesfully deployed a Torchvision Faster RCNN (or Mask RCNN) model to C++ via torchscript/libtorch. In python model = torchvision.models.detection.maskrcnn_resnet50_fpn(pretrained=True) script_model = torch.jit.script(model) script_model.save("model.pt") In C++ module = torch::jit::load("model.pt"); I linked to library with QMake in QT Creator with this .pro in ...