Solved by draaken0 in post #20 
              
              
                @Shisho_Sama I just got to know that MaskRCNN of Faster RCNN models doesn’t have support for torch.jit.trace() as they only support torch.jit.script()