Thanks for sharing this.
I am about to check the quantization, but I did not think about using TorchScript. Thanks!
Even though your running time of Mask-RCNN is better than my detector I feel still dissatisfied with inference time around 2s. I would be glad if the detector could run in around 1s; that would be acceptable for my settings, but I am not sure if this is feasible for Faster-RCNN & CPU.